Jump to content
  • 0

Upgraded Server To Php 5.5 After Upgrading Blesta To 3.5 Yesterday


Question

Posted

So I feel stupid right now.

 

I upgraded blesta yesterday to 3.5. Then this morning I upgraded the server to 5.5 from 5.3 totally forgetting about the hotfix issue.

 

I tried to access the dashboard this morning and got this error:

file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/usr/local/lib/php/extensions/no-debug-non-zts-20121212/../../../../../../home/ioncube/ioncube_loader_lin_5.3.so) is not within the allowed path(s): (/home/xxxxxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) on line 2 in /home/xxxxxxx/public_html/blestainstalldirectory/app/app_model.php

 

Of course, I then remembered the hotfix. I tried uploading those files then with no resolution. Then I reuploaded the entire blesta 3.5 and tried to run upgrade. Still gives me that error.

 

What do I do now to resolve this? php is not my forte.

11 answers to this question

Recommended Posts

  • 0
Posted

Thanks so much for your input! Apparently when the support tech updated php, easyapache integration wasn't enabled within litespeed, so the server php version was updated but the litespeed php version was not. Once that was fixed, everything works as it should

 

Again thanks for all of your input! Hopefully, this experience goes in the back of your mind as something to check next time something weird happens associated with litespeed.

  • 0
Posted

have you upgraded ioncube to the php 5.5 version as well?

 

Can you look in your logs and see what error it's giving exactly?  Tons of things could cause a 500 error.

 

And just in case, what control panel are you using?

  • 0
Posted

Now that EA is finished, no more 500 error.

 

Back to this error:

file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/usr/local/lib/php/extensions/no-debug-non-zts-20121212/../../../../../../home/ioncube/ioncube_loader_lin_5.3.so) is not within the allowed path(s): (/home/xxxxxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) on line 2 in /home/xxxxxxx/public_html/blestainstalldirectory/app/app_model.php

 

Any ideas?

  • 0
Posted

That error means that your open_basedir restrictions are too strict.  It's not allowing php modules to run in the directory, I haven't used cpanel in a while, but there should be a setting in WHM that controls open_basedir (look for security settings)

 

though seeing this "ioncube_loader_lin_5.3.so" in that error message is telling me that php is still trying to use ioncube for php 5.3

  • 0
Posted

Also, is there any way to change the title to be prefaced with "[solved]"? I couldn't find a way to do that.

 

Maked solved for your last answer sounds like they didn't run LSPHP to copy the PHP over.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...