OVH Community, your new community space.

open_basedir restriction


Mr-E-Mann
01-06-2008, 23:24
Firstly, create a file called, for example, phpinfo.php
Into this file, put the commands:
Code:
{
phpinfo();
}
Then upload to your server html folder... then call it up:
http://www.whateveryourserveris.whatever/phpinfo.php

6th section down... Configuration File (php.ini) Path will tell you where php.ini is located
(my example on a server running HyperVM/LXAdmin is /home/httpd/my_website_name/php.ini)

w00t
01-06-2008, 15:40
normaly the php.ini file is normaly in the /etc folder when u login via root.

iamthebest
31-05-2008, 23:51
How do I do that?

w00t
31-05-2008, 21:58
From past experiance you need to edit your "php.ini" file and disable the open_basedir

iamthebest
31-05-2008, 20:10
I am trying to Remove PHP’s open_basedir restriction in Plesk but its hard I am not very experienced with servers, scripts... No experience with SSH at all

I tried to follow this

Code:
http://rackerhacker.com/2007/05/23/remove-php-open_basedir-restriction-in-plesk/
But it oes not work for me, I get file not found when I try and save it in SSH