This article is also available in our new Knowledge Base: Deployment large file upload fails after 60 seconds
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
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.