• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

500 internal server error PHP timeout

W

WouterRonline

Guest
Hi everybody,

I have the following problem:

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 9.5.5
Windows 2008 Server (web edition)
PHP safe mode: off
PHP max_execution_time: 30


PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
When running a script that takes longer than 30 seconds, I get the 500 internal server error message and not the "normal" response (max execution time of 30 seconds is reached). Also, this message always appears after about 40 secondes. Also, after putting set_time_limit(3600); into the code this same results happen.

ACTUAL RESULT
Both with and without the set_time_limit code:

After about 40 seconds a 500 internal server error appears


EXPECTED RESULT
Without set_time_limit:

After 30 seconds a message will appear saying the 30 seconds max execution limit is reached.

With set_time_limit:

The full script runs with a max of the number of seconds set in the set_time_limit


ANY ADDITIONAL INFORMATION
I tried several things, but nothing seems to work. I'm looking for possible solutions or ideas to further investigate the problem (like some tips about logs to check).
 
Additional note: when switching from FastCGI to CGI, the problem is solved. So it has something to do with FastCGI. Are there any specific logs or settings for this protocol?
 
i have this problem too :(
Fast CGI or ISAPI not work
PHP 5.2.17 with ISAPI only show when i use phpinfo();
 
Can anyone help us? Maybe somebody from Parallels?

Just a simple answer can help us: Are there any FastCGI specific logs or settings?
 
Back
Top