Re: php_admin_value, virtual hosts, & upload_tmp_dir

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

 



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?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux