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:
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.