473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Is anybody here running PHP on IIS7?

Hi all, I seem to be having some weird problems with PHP on IIS7, and
now I wonder -- is anybody here running PHP on IIS7?

Thanks! -Scott
Nov 28 '07 #1
4 4810
On Nov 28, 7:37 am, turnstyle <turnst...@gmail.comwrote:
Hi all, I seem to be having some weird problems with PHP on IIS7, and
now I wonder -- is anybody here running PHP on IIS7?

Thanks! -Scott
I am. Do a search for the FastCGI Tech Preview which should take you
to iis.net downloads. Get the one for IIS7. Secondly, you need to
use the zip package of PHP. The Non-Thread safe version and the PECL
drivers. Then in a console where you unzipped fastcgi tyep fastcgi /
install then type fastcgi /add C:\php\php-cgi.exe PHP. That should do
it.
Nov 28 '07 #2
Thanks so much, mind if I tell you what I have so far?

I've downloaded the PHP 5.2.5 zip, unzipped it (into the inetpub) and
in IIS Manager assigned *.php to the PHP5isapi.dll.

And I can open a PHP page -- but, if I refresh the default application
pool (or wait for it to auto-refresh), I get a "IIS Worker Process has
stopped working" alert, and a crash in Event Viewer (but IIS continues
to work).

In other words, if I open a PHP page, when the app pool next
refreshes, I get the alert and crash.

Am I doing something wrong?

THANKS!
Nov 28 '07 #3
fwiw, I restored the PC to an earlier image -- just Vista, drivers,
IIS (with ISAPI and CGI on), and PHP.

I've unzipped PHP 5.2.5 into the inetpub folder (so it gets the
perms), and configured *.php to map to the php5isapi.dll

When I open a simple test.php page, it works.

When I open IIS Manager and click to recycle the application pool, I
get the "IIS Worker Process has stopped working" alert and the crash
in Event Viewer.

Am I missing something silly? Or is that what happens with PHP5 via
ISAPI in IIS7?

(thanks!)
Nov 28 '07 #4
On Nov 28 2007, 2:06*pm, turnstyle <turnst...@gmail.comwrote:
fwiw, I restored the PC to an earlier image -- just Vista, drivers,
IIS (with ISAPI and CGI on), and PHP.

I've unzipped PHP 5.2.5 into the inetpub folder (so it gets the
perms), and configured *.php to map to the php5isapi.dll

When I open a simple test.php page, it works.

When I open IIS Manager and click to recycle the application pool, I
get the "IIS Worker Process has stopped working" alert and the crash
in Event Viewer.

Am I missing something silly? Or is that what happens with PHP5 via
ISAPI in IIS7?

(thanks!)
Sorry it took so long to reply but, first off, you shouldn't be
putting your php installation under Inetpub. It should go to C:\php.
Second, you don't need to do any type of installation of ISAPI dll's
when using IIS if you are using the FastCGI preview for IIS7. All you
need to do is, unzip the FastCGI Preview to your desktop, open the
command prompt and cd into that folder and type fastcgi /install and
then type fastcgi /add C:\php\php-cgi.exe. That's all there is to it
and it will work. This is with a default installation of IIS7. The
only reason you would need to open the IIS manager going this route,
is to restart the server.
Jan 6 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Vlad Hrybok | last post by:
Hi all, I recently installed 64 bit version of Vista hoping to make it my primary development setup. I was able to do work with IIS7 and ASP.NET 2.0/Visua Studio 2005 combo, but hit a roadblock...
3
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal...
8
by: Darwiniv | last post by:
1. Does anyone run ASAPI and mysql succesfully on Vista /IIS7? 2. Does anyone run CGI and display all SESSION errors on Vista /IIS7? php ASAPI doesn't works with MYSQL. And CGI doesn't show...
14
by: Brad | last post by:
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this part), and then my code reads the pdf file and writes it to the httpresponse ...
0
by: =?Utf-8?B?ZGF2ZQ==?= | last post by:
I moved to a new pc (vista ultimate) and copied an existing working asp.net application to the new web site on localhost. I installed iis7 with a number of asp.net and developer type windows...
0
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
6
by: =?Utf-8?B?SmFzb24gSGFydHNvZQ==?= | last post by:
I'm running IIS7(2008 Server) and SQL both 64 bit. There's a simple client side code...that just doesn't make any sense. Is there something in IIS7 that could possibly have some effect on...
6
by: Anthony Jones | last post by:
People, Anyone else got an IIS7 server out there that they can test this little ASP file:- <% Set xml = Server.CreateObject("MSXML2.DOMDocument.3.0") xml.loadXML "<root />" Set xsl =...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.