Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP loading time , apache2.4 |
|
Author |
|
xdtest
Joined: 02 Mar 2012 Posts: 3 Location: china
|
Posted: Fri 02 Mar '12 18:36 Post subject: PHP loading time , apache2.4 |
|
|
I installed apache 2.4 and php 5.3.10(NTS) ,and i use mod_fcgid .I found the phpinfo script's loading time is about 170ms while usually it should be no more than 20 ms.
And then i test on nginx(1.0.12) and php 5.3.10 ,it is the same as before.
But if i use php-5.2.x, the loading time is about 20ms.
I test this on windows 2003 sp2
Apache 2.4(or Apache 2.2) and php 5.3.10( or php 5.4),the script loads slowly.
Apache 2.4(or Apache 2.2) and php 5.2.x,the script loads normal.
Is there anyone has the same problem ? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 02 Mar '12 20:35 Post subject: |
|
|
Thanks!
Not seen it here.
Happens it only the first time and mod_cgi has to load php-cgi.exe, or all the time ?
The difference I see, that php 5..2.x is build with VC6.
How did you measure it ?
Assuming you run Apache Win32 VC9 or VC10 ?
What version of mod_cgi you are running, 2.3.7 (VC9 or VC10) or 2.3.6-P2 ?
Any difference between the 2.3.7 VC10 and 2.3.7 VC9 ?
Steffen
Repeating: Is there anyone that has the same problem ? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
Back to top |
|
xdtest
Joined: 02 Mar 2012 Posts: 3 Location: china
|
Posted: Sat 03 Mar '12 5:33 Post subject: |
|
|
Thanks for your attention.
I downloaded VC9 php5.4-nts-win32 from php.net ,and i downloaded apache 2.4(VC9) from apache lounge,the mod_fcgid is mod_fcgid-2.3.7-win32-2.4.zip .All the scripts load slowly. I found this with firebug and I clearly feel it becomes slow when i click other links.
I had check this with apache 2.4( or 2.2)-vc9 and nginx,maybe it's php version that causes this result. Steffen wrote: | Thanks!
Not seen it here.
Happens it only the first time and mod_cgi has to load php-cgi.exe, or all the time ?
The difference I see, that php 5..2.x is build with VC6.
How did you measure it ?
Assuming you run Apache Win32 VC9 or VC10 ?
What version of mod_cgi you are running, 2.3.7 (VC9 or VC10) or 2.3.6-P2 ?
Any difference between the 2.3.7 VC10 and 2.3.7 VC9 ?
Steffen
Repeating: Is there anyone that has the same problem ? |
Last edited by xdtest on Sat 03 Mar '12 5:45; edited 1 time in total |
|
Back to top |
|
xdtest
Joined: 02 Mar 2012 Posts: 3 Location: china
|
Posted: Sat 03 Mar '12 5:43 Post subject: |
|
|
yes. thanks,i'll test it under centos and windows 7
Admin note:
The 2.3.7 version is back as download. |
|
Back to top |
|
|
|
|
|
|