|
Posted by Skrol29 on 10/21/19 11:57
Hello,
In order to encircle a problem of performance we have with our PHP
scripts, we were brought the make the following test. We take a
standard HTML page of our site, and we make a copy of this file but
renaming it with the PHP extension. This way, those two HTML and PHP
files have exactly the same content which is entirely HTML without any
PHP tags, neither PHP commands.
The we benched the time for displaying those pages (using FireFox):
Source HTML + extension HTML + called from Locale Machine => 0,5 sec
Source HTML + extension PHP + called from Locale Machine => 0,5 sec
Source HTML + extension HTML + called from Local Network => 0,5 sec
Source HTML + extension PHP + called from Local Network => 4 sec (!!)
All Calls are made with the same URL in http://....
This behavior is the same on several client PC we've tested in our
Local Network.
The server is Win2000 + Pentium III-800 + 256 Mb Ram. Apache 2.0.55 +
PHP 5.1.6 are manually installed and running, the server has no other
specific software. There is no anti-virus, no fire-wall.
Do you have an idea of what can cause pages passed by the PHP
interpreter to be dramatically slowed down only when they are called
via the locale network ?
------------
Skrol 29
------------
Navigation:
[Reply to this message]
|