Re: Re: php.ini
| From: | Mailit, LLC | Date: | Tue, 16 Nov 2004 22:44:34 +0000 |
| Subject: | Re: Re: php.ini | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202237@lists.php.net to get a copy of this message | ||
This is a similar question, but under Linux.
No matter how I change the upload_max_filesize in /etc/php.ini, the file uploading script refuses to accept files larger than 512 kB.
If I run the phpinfo() function, the new value for upload_max_size (20M) appears there, but I get the message "File contains no data".
I repeated the test on another server running Linux, and I succeded in uploading a 6 MB file, by changing the value of upload_max_filesize.
My server must have some fundamental setting that overrides the php.ini settings. Can anyone clarify the matter?
Thanks. Mario.
Lester Caine wrote:
lister@pikkle.com wrote:(on windows) can someone tell me where to define which php.ini gets used?The default is a copy in the windows directory. (C:\WINDOWS or c:\WINNT) While details of what goes IN php.ini are nice in the manual - where it goes is a bit more vague. Someone add some fine detail into relocating it?