PHP Upload is terminated after 30 seconds
Hi,
I am having an issue with suPHP with and without PHP-FPM. When a user tries to upload 2MB+ files, the upload is terminated after exactly 30 seconds without any HTTP response code. The connection is just closed.
PHP settings for max execution time, upload file size and all other timeout settings in apache configuration are all more than 30 and about 60MB for files.
There is also nothing in the error logs.
What am I missing here? Previously the server was using Litespeed and everything was just fine, after switching to apache issues started.
-
Hi @xfactor5 Whats the post_max_size set to? This can also affect the upload_max_filesize 0 -
60M, as I said I checked all the visible config values in WHM interface. Besides, it was working fine in Litespeed the issue does not seem to be with PHP. 0 -
Check the document root for your application. Maybe you have custom ini file for PHP which overrides the default value set in the global ini file. 0 -
Hi @xfactor5 I agree with @RoseHosting checking the documentroot for the domain for a php.ini or even a .htaccess directive would be useful. Also can you show a screenshot of the PHP details from a phpinfo page? Thanks! 0 -
Hi, I checked the document root and no ini was there. Here is the screenshot: - Removed - Nothing htaccess too. I am currently on php-fpm and the issue is not resolved. 0 -
Hi @xfactor5 Can you include the phpinfo as an attachment and only include the relevant information in the attachment so it's not so big. Thanks! 0
Please sign in to leave a comment.
Comments
6 comments