Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-18 Thread Richard Lynch
On Tue, October 17, 2006 8:57 pm, Michael Hogsett wrote: Do you think there's any chance that it would be related to some other setting within the php.ini file? The badly-named and oft-misunderstood safe_mode is my GoTo for Blame Analysis on stuff like this... :-) This is not Science, but

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-18 Thread Michael Hogsett
Richard Lynch wrote: The badly-named and oft-misunderstood safe_mode is my GoTo for Blame Analysis on stuff like this... :-) I checked. It's off. This is not Science, but Voodoo Debugging... No doubt. Thanks for the info. - Mike smime.p7s Description: S/MIME Cryptographic Signature

[PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Michael Hogsett
Why can I not set upload_max_filesize or upload_tmp_dir inside my virtual host directive? These are exactly the kinds of ini directives that you would want to set per virtual host. I can set open_basedir inside my virtual host using php_admin_value, but neither of upload_max_filesize nor

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Chris
Michael Hogsett wrote: Why can I not set upload_max_filesize or upload_tmp_dir inside my virtual host directive? These are exactly the kinds of ini directives that you would want to set per virtual host. I can set open_basedir inside my virtual host using php_admin_value, but neither of

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Michael Hogsett
Chris wrote: Michael Hogsett wrote: Why can I not set upload_max_filesize or upload_tmp_dir inside my virtual host directive? These are exactly the kinds of ini directives that you would want to set per virtual host. I can set open_basedir inside my virtual host using php_admin_value, but

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Chris
Michael Hogsett wrote: Chris wrote: Michael Hogsett wrote: Why can I not set upload_max_filesize or upload_tmp_dir inside my virtual host directive? These are exactly the kinds of ini directives that you would want to set per virtual host. I can set open_basedir inside my virtual host using

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Michael Hogsett
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

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Chris
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

Re: [PHP] php_admin_value, virtual hosts, upload_tmp_dir

2006-10-17 Thread Michael Hogsett
Chris wrote: 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