PHP is 4 times slower under Windows?
I'm debugging a number of performance issues with PHP under Apache/Windows.

I have at this point come to the conclusion that PHP is significantly slower on Windows than it is on Linux. I got the script benchmark from http://php-benchmark-script.com/ , and on the same hardware the Windows setup runs 4x slower (5 secs vs. 20 secs).

I dodged Apache completely and used PHP on the CLI with the same results.

I am using Ubuntu's version of PHP for Linux trials (used a number of computers in the office, so nothing specific about mine) and php.net's PHP binary for Windows (again, tried 32 and 64 bit Windows versions under Windows 7 or 2008 Server).

Is this somehow expected? I'm baffled by the difference and I want to debug this before wasting any time optimizing my code.
PHP is 4 times slower under Windows?
===

I'm debugging a number of performance issues with PHP under Apache/Windows.

I have at this point come to the conclusion that PHP is significantly slower on Windows than it is on Linux. I got the script benchmark from http://php-benchmark-script.com/ , and on the same hardware the Windows setup runs 4x slower (5 secs vs. 20 secs).

I dodged Apache completely and used PHP on the CLI with the same results.

I am using Ubuntu's version of PHP for Linux trials (used a number of computers in the office, so nothing specific about mine) and php.net's PHP binary for Windows (again, tried 32 and 64 bit Windows versions under Windows 7 or 2008 Server).

Is this somehow expected? I'm baffled by the difference and I want to debug this before wasting any time optimizing my code.