Re: php_admin_value, virtual hosts, & upload_tmp_dir

From: Date: Wed, 18 Oct 2006 02:12:21 +0000
Subject: Re: php_admin_value, virtual hosts, & upload_tmp_dir
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-243269@lists.php.net to get a copy of this message
Michael Hogsett wrote:
Chris wrote:
That is rather strange. I'm running different versions of both php and apache but it works: <VirtualHost _default_:*> ....
        php_admin_value upload_tmp_dir /usr/local/www/subsite/virtual-server-hostname.domain/tmp/uploads
        php_admin_value upload_max_filesize "100M"
I'm fairly sure you can't use constants or size shortucts (like "100M") anywhere but php.ini. Maybe it works in the global scope because it gets read into PHP before it parses php.ini?
Just a guess.
.... </VirtualHost> That is - not inside the if_module section and it worked. I thought maybe quotes around the path would make a difference but it didn't.
Thanks for your help Chris. I guess I'll have to keep looking. Do you think there's any chance that it would be related to some other setting within the php.ini file?


« previous php.general (#243269) next »