Jump to content

Problem after upgrading server to php 5


Guest leewilson78

Recommended Posts

Guest leewilson78

Hi all,

I have a site that has gone down since updating my server to php 5.2, here is the message:

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/lib/php/modules) is not within the allowed path(s): (/var/www/vhosts/mysite.co.uk/httpdocs:/tmp) in /var/www/vhosts/chriskasch.co.uk/httpdocs/shop/index_enc_ion.php on line 2

Site error: the file /var/www/vhosts/mysite.co.uk/httpdocs/shop/index_enc_ion.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

I Can anyone help?

Thanks

Lee

Link to comment
Share on other sites

Guest dtmswebmaster

Try disabling the open_basedir option in your php.ini and see if that works any better for you. As for the ioncube... I'm not sure about that one, I use Zend Optimizer, but it may fix itself with the change in the php.ini file. Just remember to restart your apache server so the php.ini file will be reloaded with the changes.

Hope that helps.

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

×
×
  • Create New...