httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Edwards <>
Subject [users@httpd] php admin value ignored
Date Tue, 15 May 2012 06:46:17 GMT

in httpd.conf each virtual host has
php_admin_value open_basedir "/usr/local/lib/php/:/srv/"
php_admin_value upload_tmp_dir /srv/

But a phpmailer script is complain

PHP Warning:  Unknown: open_basedir restriction in effect. File(/tmp)
is not within the allowed path(s):  (correct paths provied)

Anyone have any idea why php ignores the upload_tmp_dir and insists use /tmp ?

(httpd 2.4.2  + php 5.3.13)

I reaallllllllllllyyyyyyyyyyyyyyy  do not want to give each host
access to /tmp for security reasons.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message