Re: [PHP4BETA] Wacky Performance Problem w/ Windows
[email protected] (Steve Langasek) Thu, 1 Jun 2000 14:05:26 -0500 (CDT)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <Pine.LNX.4.10.10006011333410.22347-100000@tennyson.netexpress.net> |
On Thu, 1 Jun 2000, Joel Roller wrote: > Leaving aside the fact that IIS4/isapi php is so much slower for a > sec.. Php4 on windows parses php (stuff within <? tags ?>) between 2 > and 5 times faster than html. > I have tried IIS4/isapi, IIS4/cgi, Apache/cgi, all on windows, and get > the same results: File 2 is much faster than File 1. And all are > around 50 times slower than the same file on linux/apache/mod_php. What happens if you set up IIS4 with neither PHP ISAPI, nor PHP cgi? Are the speeds for flat HTML files still comparable to what you see when PHP is loaded? It's difficult to lay the blame on PHP for such a performance problem, especially when PHP is a CGI: it should never touch the flat HTML files. Is it possible that the web server is doing additional parsing of the HTML files that's causing it to slow down? This could explain why PHP is faster, but I can't see why it would be happening in the first place. Steve Langasek postmodern programmer