PHP script timing out

by 2 replies
3
If a PHP script that uses a MySQL database loads page A on Monday in .23 seconds and on Tuesday in 37.2 seconds causing an error 500 timeout would you say the problem is the script or the server?
#programming #php #script #timing
  • It could be heavy process on PHP, it could be row locking on MySQL...

    Check your php log to analyze first.
    • [1] reply
    • So it would most likely be something on the server that is at fault versus the script if I understand you correctly.

      I'm not a programmer but am trying to resolve a dispute with my host over a CMS I use.

      Thanks for the reply.
      Mark

Next Topics on Trending Feed

  • 3

    If a PHP script that uses a MySQL database loads page A on Monday in .23 seconds and on Tuesday in 37.2 seconds causing an error 500 timeout would you say the problem is the script or the server?