PHP script timing out

2 replies
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?
#php #script #timing
  • Profile picture of the author Fahmzie
    It could be heavy process on PHP, it could be row locking on MySQL...

    Check your php log to analyze first.
    {{ DiscussionBoard.errors[6272598].message }}
    • Profile picture of the author Mark Singletary
      Originally Posted by Fahmzie View Post

      It could be heavy process on PHP, it could be row locking on MySQL...

      Check your php log to analyze first.
      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
      {{ DiscussionBoard.errors[6272796].message }}

Trending Topics