Apache or IIS???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys,

Has anybody run this test, I'm in the middle of it and have found that
PHP runs faster as CGI-nts (IIS) than Module-ts (Apache), as per
Windows Server 2008 R2 running PHP 5.5.3 x64 with Apache 2.4 x64 I was
getting benchmarks of over 15 secs, I just ran the same benchmark on
Windows Server 2012 x64 and Apache 2.4 x64 with PHP 5.5.3 x64 and got
this:

PHP version : 5.5.3
Platform : WINNT
--------------------------------------
test_math                 : 1.093 sec.
test_stringmanipulation   : 2.106 sec.
test_loops                : 0.772 sec.
test_ifelse               : 0.477 sec.
--------------------------------------
Total time:               : 4.448 sec.

This doesn't make sense to me:

Win 2008 R2 + Apache 2.4 x64 => over 15 seconds for the total time of benchmark
Win 2012 + Apache 2.4 x64 => less than 5 secs

If both servers are using the same Apache and the same PHP, shouldn't
they be similar?

Also, when I tried CGI over Apache I got 3.x seconds which tells me
that it should run faster on IIS (CGI-nts)

Or:

PHP NTS (for IIS) runs faster than TS (For Apache) even though Apache
has always been the main server for PHP.

Any ideas?

-- 

Jorge Hernandez

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux