I've been trying to reconfigure my apache
and php.ini
to allow upload of large file.
therefore I've changed the following variables:
/httpd/conf/httpd.conf:
Timeout 7200 ProxyTimeout 7200
/etc/php.ini:
post_max_size = 1024M ; Maximum size of POST data that PHP will accept.
max_execution_time = 7200 ; Maximum execution time of each script, in seconds
max_input_time = 7200 ; Maximum amount of time each script may spend parsing request data
memory_limit =1024M ; Maximum amount of memory a script may consume
file_uploads = On ; Whether to allow HTTP file uploads.
upload_max_filesize = 1024M ; Maximum allowed size for uploaded files.
PHP script - before uploading:
set_time_limit(0);
The response is :
324(net::ERR_EMPTY_RESPONSE)
Please notice that the uploaded file is stored correctly at the server, so the upload process is successful, but I keep getting this error.
Any hint?
Alon kogan