Deployment large file upload fails after 60 seconds

Follow

Issue

When trying to upload a large library or application .zpk file for deployment, if the file needs more than 60 seconds to upload, the upload halts. This message is seen in the php.log file:

PHP Fatal error: Maximum execution time of 60 seconds exceeded in Unknown on line 0

Environment

Zend Server

Resolution

The directive you need to change is max_input_time. You can change it in the Zend Server User Interface.

Navigate to the Configurations -> PHP tab. Scroll down to find 'Resource Limits and Tuning' on the list. Click it to expand the directives. Find max_input_time and increase it to what you need. For example, if you were able to upload more than 50% of the file before failing, then try 120, or if you were only able to upload 25%, then try 480. After changing the value, click the 'Save' button near the upper left. You will need to restart for the change to take effect.

Have more questions? Submit a request

Comments

  • Avatar
    King Harrison

    This article helped me track down my problem and fix it, but Zend Server 8.0.2 on the IBM i does not give an error message when uploading a ZPK. The next button just does not become active. A clear message when the upload fails would be helpful! Thank you for the article

Powered by Zendesk