open_basedir off ?

Posted by travelmate2501, 04-20-2009, 09:32 AM
Hi ! I have dedicated server and my panel is lxadmin. Anybody know how can i make off on php.ini the open_basedir ? I have to install one script on my server this open_basedir have to be disable. Thanks

Posted by hiabhilash, 04-20-2009, 11:42 AM
Create a phpinfo page. I hope you know to do that. Browse it and get the location of php.ini. Usually it will be, at /etc/php.ini or /home/httpd/domainname.com/php.ini You can even access the config from lxadmin --> admin --> php config

Posted by CiscoMike, 04-20-2009, 11:58 AM
You can't turn it off per se, you can limit it to a specific directory. I read a post on Google that claims by setting a directive in the vhosts.conf file for httpd that you can set the basedir to "none", not sure if that acheives the same thing but as far as the php.ini file goes, the open_basedir directive is commented out by default and there isn't an on/off switch within php for it.

Posted by travelmate2501, 04-20-2009, 01:34 PM
Thanks both for your answer. I find by my self what i have to do and i make it now off. Nothing can do with php.ini or vhosts.conf (vhosts.conf it's for other panel not for lxadmin). Any way the solution is this: We have to edit this file /home/httpd/mydomain_name.com/conf/lxadmin.gsat.info and on open_basedir lines you change the directory with "none" and then from SSH we have to restart httpd and ready !!!

Posted by jNive, 04-20-2009, 03:36 PM
Can you not just specify additional accessible directories for that certain directory/site, far better than disabling it or opening it up globally

Posted by Deem3n®, 04-21-2009, 07:33 AM
Add to php.ini And restart Apache

هل استفدت من هذا الجواب؟

 أطبع هذا المقال

اقرأ أيضا

Box Overloading

Posted by SuperHosterz, 01-13-2008, 11:56 AMI've 50 sites hosted on server all are small sites,...

How is this possible?

Posted by iUnknown, 09-16-2008, 02:27 PMHello, When I run the following command on my server:...

pear modules

Posted by Calibaba, 09-09-2007, 09:48 AMTrying to install Cerberus Help Desk and it gives this...

Multiple IP's Ubuntu

Posted by jamiew8, 02-10-2011, 07:12 AMHi, I have been trying to add multiple IP's for SSL...

img centering in IE

Posted by bambinou, 03-05-2010, 12:17 PMHi, I am having a very stupid problem but just...