We are using ispconfig3 debian wheezy tutorial. http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3 and Zend_search_lucene zend framework 1.11 The php software needs to perform a Mysql data search (which currently not more than half a million records). As per my assumption, the software does read from the Mysql database and then need to create some index files (creating search lucene files ) related to the database on server. Which I think is doing fine. But, the program cracks out after some time when creating the files and show 500 internal server error. i have been through the ispconfig3 manual and the forums and have not found an answer to remedy my 500 error. I did try to bug out my code but then looked for the server error log files and the below error strikes me. [Fri Jan 17 09:52:27 2014] [warn] [client 220.127.116.11] mod_fcgid: read data timeout in 360 seconds [Fri Jan 17 09:52:27 2014] [error] [client 18.104.22.168] Premature end of script headers: index.php your professional advice on how to solve this would be appreciated. many thanks in advance.