|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
windows vs linux for PHP usage
i'm wondering which is best performance for lot of PHP usage and why?
1. Windows IIS w/ CGI module (very slow when there many visitors & CPU 100%) 2. windows IIS w/ ISAPI module (very good but i've hear on internet they said have problem with crashing.) 3. Windows w/ Apache (never tried yet) 4. Linux w/ apache (never tried yet) you can rank them in order which is faster and stable for PHP requests. doing for web hosting. |
|
#2
|
||||
|
||||
|
4
3 2 1 No no, I am not doing count down, I am ranking them in order for your requirement. Regards, JD
__________________
_____________________________ d.k.jariwala (JD) ~ simple thought, simple act ~ I blog @ http://jdk.phpkid.org |
|
#3
|
||||
|
||||
|
Listen to the man, he speaks the truth.
IIS/CGI is the worst possible combination. Linux/Apache/PHP-SAPI module is the best you can do. Why? All three were originally developed for Linux. The windows ports of Apache and PHP were later releases. Thus, all three work brilliantly together. Especially Apache and PHP. Last edited by Jeb. : May 22nd, 2003 at 06:12 AM. |
|
#4
|
||||
|
||||
|
Microsoft Platform - Microsoft Languages
Open Source Platform - Open Source Languages Simple :-) |
|
#5
|
|||
|
|||
|
Great. is there difference between Apache 1.3.x and 2.x? I heard 1.3.x is forking program and 2.x is threading program.
so what would you recommend? |
|
#6
|
||||
|
||||
|
Currently use Apache 1.3.x since it is a proven stable release. Apache 2.x is not considered production quality yet.
|
|
#7
|
|||
|
|||
|
There are also some issues, if I recall correctly, with PHP 4.2.x on apache 2.x. I might have it mixed up but I know I have read places where sessions and other things don't work with certain combinations of PHP and apache 2.x. So just a heads up if you are heading that way.
In short if you are designing a new application you will probably want to consider going with Apache 2.x but if you already have your application built migrating from Apache 1.3x over to 2.x is probably not the most enjoyable thing to spend your time on. |
|
#8
|
||||
|
||||
|
I'll attest to the ISAPI module crashing in an IIS enviroment. I
currently use IIS/FAST CGI, tested with ISAPI on testing server kept getting memory dump complaining of trying to write to read only memory. But I do get great reaction times with IIS/CGI. If you can, Linux, Apache,MySQL,PHP (LAMP-see tutorial in sig). |
|
#9
|
|||
|
|||
|
Hmm, I've never heard of problems with Apache 2, etc. Although I haven't really looked. I run an intranet site with it, using mysql, php, sessions and not a hiccup. Gonna have to look into this.
Just downloaded RH9, need to see what that is all about.
__________________
The Dude I'm the Dude. So that's what you call me. That, or Duder, His Dudeness, Or El Duderino. If, you know, you're not into the whole brevity thing |
|
#10
|
|||
|
|||
|
oh i never heard of FAST CGI, tell me more about it and where can i find it? thank
![]() btw, i heard people are having problem with PHP 4.3x and Apache 2.x |
|
#11
|
||||
|
||||
|
I certainly am. They need to iron out a few kinks here and there. Certain code is causing Apache crashes, and it's giving me grief.
I run PHP5-dev on Apache 2.0.45, and I actually have less issues with that setup than I do with stable PHP 4.3.1. Either way, I went back to Apache 1.3.27/PHP 4.3.1 for now. I have the two setups running side-by-side, able to switch to either at a whim. Works fine. Apache 2.0.45 is stable, you can use that in a production environment. But, you shouldn't use it in conjunction with PHP as Apache 2 support in PHP is still experimental. Last edited by Jeb. : May 23rd, 2003 at 05:08 AM. |
|
#12
|
||||
|
||||
|
I use IIS with PHP as an ISAPI module at work and have never had any "crashing" issues. It doesn't have a really high load, 6-8K hits per 8 hour work day. I've got to say I'm happy with it though.
I've got to agree with SilkySmooth: When on MS, use MS, even though we all know it's not the best choice overall. ---John Holmes... |
|
#13
|
|||
|
|||
|
I cannot understand the instruction how to install FastCGI. I'm running win server IIS with php 4.2.3
I went to http://www.caraveo.com/fastcgi/ and there is a file phpfcgi.exe for 4.2.3. I'll need to change the path point to that file in C:/php/phpfcgi.exe is there anything else? Do i need to add registry AppPath = c:\php\phpfcgi.exe and BindPath "php-fcgi" startservers incrementservers maxservers Last edited by tommy916 : May 23rd, 2003 at 01:06 PM. |
|
#14
|
|||
|
|||
|
so linux apache 2x is better than Win IIS ISAPI for many visitors?
What i'm looking for that it can take over 50 visitors request the same page at the same time. The CGI module is really BAD. |
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > windows vs linux for PHP usage |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|