openbase_dir problem

hugedragon

Verified User
Joined
May 20, 2007
Messages
16
server config:

directadmin 1.29.7
centos 4.5
php 4.4.7
apache 2.0.59

Problem:

I enable the openbase_dir(ON) for the test account via directadmin. and then go to check the http.conf file "/usr/local/directadmin/data/users/test/httpd.conf" ...

i have seen this " php_admin_value open_basedir /home/test/:/tmp:/usr/local/lib/php/".. it should be ok... :)

however , when i check the phpinfo... its show me "no value" for open_basedir..

I have already recompile php / apache.. but no help..

any advice?

thanks
 
Hi,


I found the temporary solution...

below is httpd.conf ...

<IfModule mod_php4.c>
php_admin_flag engine ON
php_admin_flag safe_mode ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'

php_admin_value open_basedir /home/test/:/tmp:/usr/local/lib/php/

</IfModule>


i change it to the

#<IfModule mod_php4.c>
php_admin_flag engine ON
php_admin_flag safe_mode ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'

php_admin_value open_basedir /home/test/:/tmp:/usr/local/lib/php/

# </IfModule>


the phpinfo can show up the openbase_dir / sendmail path / safe mode value...

:rolleyes:
 
Back
Top