Re: Best environment for PHP on Windows

From: Date: Tue, 03 Sep 2002 16:18:11 +0000
Subject: Re: Best environment for PHP on Windows
Groups: php.windows 
Request: Send a blank email to php-windows+get-15654@lists.php.net to get a copy of this message
Curious... Id like to know why you suggest CGI over SAPI for Apache... its more stable, but less fast. If you're looking for speed, I believe the suggested method is SAPI with Apache. It should be noted that Apache 1.3 isn't as fast as IIS 5.0 on Win2k boxes. If performance is a primary goal, you should check out the free PHP Accelerator: http://www.php-accelerator.co.uk It optimizes your PHP scripts, then stores them "compiled" for faster execution of dynamic pages. However, if you do a lot of database calls on each page, you'd probably benefit more from some faster network hardware. -- Brian 'Bex' Huff bex@stellent.com Phone: 952-903-2023 Fax: 952-829-5424 > Apache/CGI. > > > Benjamin Walling wrote: > > >> We have a website currently running ASP/IIS/Win2k. It has some problems >> that get it locked up on a semi regular basis, requiring a reboot or killing >> of dllhost.exe. >> >> I've started porting some of the code to PHP to see if this is a viable >> alternative. So far, I've been running it on IIS/Win2k as an ISAPI filter. >> I've found the performance to be subpar running against the same database >> backend server (MSSQL) as the ASP code. I downloaded a copy of apache, >> although I've not installed or tested it. I'll grant that the ASP code and >> the PHP code are running on separate machines, although they have the same >> hardware configuration (the PHP machine even has a lighter load because I am >> the only one using it - there are 20-30 people on the ASP machine all day >> long). >> >> What is the optimal configuration for running PHP under Windows? IIS/ISAPI? >> Apache/CGI? Apache/mod_php? If I'm going to give this a fair run, I'd like >> to do it under the optimal conditions for PHP. >> >> There does not seem to be sufficient support for accessing MSSQL under >> linux. I've tried freetds, but it doesn't have full support - running >> stored procedures with mssql_init() mssql_bind() mssql_execute() won't work. >> We can't get away from MSSQL - our accounting system runs on it, and that's >> not going to change. >> >> -- >> PHP Windows Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#15654) next »