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@xxxxxxxxxx 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?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php