Guest leewilson78 Posted August 2, 2009 Share Posted August 2, 2009 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 Quote Link to comment Share on other sites More sharing options...
Guest dtmswebmaster Posted August 3, 2009 Share Posted August 3, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.