Connecting Tech Pros Worldwide Help | Site Map

problem using PHP5 CGI in IIS

Andrew Crowe
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi guys,

As PHP5 is on its final beta, we decided to start writing a web application
in it to take advantage of the much better object support it offered.

We're running the php-5.0.0b3-Win32.zip installation on a Win2K server
platform alongside PHP4. I have used a hex editor to change instances of
php.ini to ph5.ini in php4ts.dll so that the existing PHP4 installation is
not affected.


At first we tried running PHP through php4isapi.dll however this became
quite unstable with a lot of "Invalid access to memory location" errors as
well as a few strange problems such as error warnings and notices stopped
displaying and phpinfo() returned garbled results.

We then tried accessing through the php.exe cgi module as in PHP4 it is
considered more stable. However this just results in IIS hanging when a page
is called. Running php.exe through the command prompt executes fine.

Is there any way to run the cgi version of php in IIS? Or is there something
we can do to get around the isapi stability problems?

--
Regards,
--
Andrew Crowe
Developer

Adaptive Technologies Ltd
13 Brunswick Square
Hove
East Sussex
BN3 1EH
UK

01273 728128
andrew@adaptivetechnologies.com
http://www.adaptivetechnologies.com


Closed Thread