Page 2 of 2
Posted: Fri Jun 15, 2007 7:49 pm
by superdezign
I've never had a slow running PHP script before. The closest to that was too much database interaction. There's probably a cause other than PHP if it's running slow (unless you've got a lot of long loops and function calls).
Posted: Sat Jun 16, 2007 2:31 pm
by RobertGonzalez
Even loops and function calls won't make a PHP app that slow. Server processing can, database servers can, recursion gone bad can, etc. Seldom is it PHP that is making things slow unless your code is bad.
Posted: Sat Jun 16, 2007 5:10 pm
by Christopher
superdezign wrote:I've never had a slow running PHP script before. The closest to that was too much database interaction. There's probably a cause other than PHP if it's running slow (unless you've got a lot of long loops and function calls).
That is an excellent observation. I can't think of the last time that the script itself was causing slowness. It's always some connection to another server/application that needs to be dealt with.