Connecting Tech Pros Worldwide Help | Site Map

problem using PHP5 CGI in IIS

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 02:28 AM
Andrew Crowe
Guest
 
Posts: n/a
Default problem using PHP5 CGI in IIS

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



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.