You are here: PHP slowness « PHP « IT news, forums, messages
PHP slowness

Posted by Gerard on 02/24/05 11:54

Hello people,

Recently, one of my webservers became rather slow. At first we thought it
was the MySQL backend, but when logged in on MySQL using the command line
tool over SSH, it runs as smooth as ever.
Static content (normal html pages) also load without delay. It seems that
the bottleneck is PHP itself.
For the sake of comparison, I created 2 test pages:

http://www.debuginc.com/test.html
http://www.debuginc.com/test.php

Everyone I asked says that the PHP page takes over 5 seconds to load while
the HTML one instantly displays. The only code in the PHP page is <? echo
'hello world'; ?>. No MySQL stuff, so that eliminates the initial idea of
MySQL causing the slowness.

Nevertheless, it IS slow and I have no idea why or where to start looking.
The phpinfo() can be found on www.debuginc.com/info.php. Any help or hints
are highly appreciated.

Another interesting note; this problem started a couple of days ago without
any changes in the config or anything. At first I upped the amount of
connections Apache would accept, but it soon turned out that was not the
problem.

Thanks,
- Gerard

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация