RE: [PHP] Heavy Load
| From: | Maxim Maletsky | Date: | Thu, 24 Aug 2000 07:41:19 +0000 |
| Subject: | RE: [PHP] Heavy Load | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13318@lists.php.net to get a copy of this message | ||
That's what I think too.
As a web designer I like to have a index.html?key=val instead .php or
.php3?key=val
In the first case you can give a god impression to a user, because it will
not be too confused by seeing all the software instead a normal website...
-----Original Message-----
From: Jason Brooke [mailto:jason@qgl.org]
Sent: Thursday, August 24, 2000 4:31 PM
To: Larentium; php-general@lists.php.net
Subject: Re: [PHP] Heavy Load
The load is not the same, because now httpd probably has to read through
.html files looking for <?php, <? or <% characters depending on your
configuration. But whether or not you'll notice the difference is another
story.
In my experience with both lightly loaded (ten thousand http requests per
day) and fairly heavily loaded servers (~5 million http requests per day),
telling Php to parse .html files as well as .php has not caused any
problems, nor noticeably increased load.
Maybe you can give it a test and just turn it off if you think it caused
negative impact?
jason
If all of the html files on a site were PHP files, would it put an extra
load an Apache Server with the PHP module for having to process all of the
files? Say if you wanted to use a PHP header and footer on every html page.
Or is the work load almost the same for plain html files and PHP files with
simple includes or print commands?
Larentium
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net