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

RE: [cobalt-users] [RaQ4] PHP Upload problem



-----Original Message-----
From: William J.A. Brillinger
Subject: [cobalt-users] [RaQ4] PHP Upload problem


Hi,

We have a php script that is used as an ftp interface for a client. The 
internet is strewn with similar problems with this concept all revolving 
around an 8mb limit in filesize.

I have set the following in php.ini:

(php version is: PHP 4.1.2-3)

upload_max_filesize = 22020096       ; 21 Meg limit on file uploads
max_execution_time = 600    ;600 seconds
memory_limit = 29360128     ;28mb
post_max_size = 23068672    ; 22 Meg Max post

As I recall nothing needs to be restarted for php to use the new settings 
but I still cannot upload a file larger than 8mb. Any suggestions are
welcome!

- Bill B.

---------------------------------


William, You will probably need to restart you apache server so that it can
re-read the PHP.INI.
any time you make a change to it, you need to do a hard restart

/etc/rc.d/init.d/httpd restart

Thanks!

Brian.