Re: php admin value ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try to something like this

php_admin_value open_basedir /usr/local/lib/php/:/srv/foo.net/
php_admin_value upload_tmp_dir /srv/foo.net/tmp/
php_admin_value session.save_path /srv/foo.net/tmp/

On Tue, May 15, 2012 at 9:46 AM, Nick Edwards <nick.z.edwards@xxxxxxxxx> wrote:
> Hi,
>
> in httpd.conf each virtual host has
> ...
> php_admin_value open_basedir "/usr/local/lib/php/:/srv/foo.net/"
> php_admin_value upload_tmp_dir /srv/foo.net/tmp/
> ...
>
> 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.
>
> Thanks
> Nik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux