Open_basedir+phpmyadmin error

omern

Verified User
Joined
Jun 20, 2007
Messages
14
when setting
open_basedir = On
at php.ini, phpmyadmin stopped working.

fixed this issue temporary using
php_admin_value open_basedir /var/www/html/
at httpd.conf under mod_php5.c

I understood from some tech guys that using this method I can make damage to software running on my server (CentOS),
Is this the best way I can allow phpmyadmin to work using basedir on?

while setting basedir off from DA only and not from php.ini - some exploits using open_basedir bug keeps working. (they bypass open_basedir)

Thanks a lot,
Regards,
Omer Nevo
 
Last edited:
open_basedir values aren't off and on :) It needs to be a path :) e.g. open_basedir=/var/www/html
 
nop.
at php.ini you should be able to define if users can use out of their basedir
in DirectAdmin you can choose it manually for each user seperately at "PHP safe mod options", at php.ini you can set it globally.
 
Back
Top