473,785 Members | 2,841 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4837
On Nov 28, 7:37 am, turnstyle <turnst...@gmai l.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...@gmai l.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
7540
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 trying to work with Visual Studio .NET 2003 on ASP.NET 1.1 app. The problem is that I can’t create an application pool in IIS7 that would run .NET Framework 1.1. I noticed that unlinke .NET Framework 2.0, Framework 1.1 only gets installed...
3
5158
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 reports web viewer, view the report and then export from the viewer it also works fine (IIS7 and cassini). And I should note this all works fine in IIS6 on win2003 or in xp. So my thought with all this is that something is going on with IIS7, so...
8
7494
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 any SESSION error message. PHP had so much bugs on windows vista. I using php-5.2.1-Win32
14
9507
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 The web app works great on win2003 and xp and the end result is a pdf file is displayed in the browser. When I run the same code on Vista, the browser displays the message "Internet Explorer cannot display the web page". If I open the same...
0
1397
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 components. The problem occurs when I select something (on the web site) where it is using xmlHttp call back to project.axd (handler). After a couple of seconds I am prompted for username and password. Regardless of what i type it doesnt...
0
5984
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 on an old project that happens to run on IIS6/W2000/MSSQL7, but my W2000 machine couldn't handle the size of the database in question anymore. :-( My new Vista machine is 5 years younger and is a lot faster, so I started to figure out how to use...
11
2724
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 local URL that VS.NET 2008 generates is http://localhost:49705/aaa/Default.aspx. In IIS7 Manager, ASP.NET V2.0… is "Allowed" in the ISAPI and CGI Restrictions. Also IIS7 is working and display ASP.NET web sites if I convert them to IIS7...
6
5216
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 including the file. The problem is: <script src="myfiletoinclude.inc"></script> it works fine on my 2000 and 2003 box....running IE8 emulating IE7. No problems....but on the 08 box...it won't pull in the page. Is there a setting or a place I can...
6
7997
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 = Server.CreateObject("MSXML2.DOMDocument.3.0")
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10330
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10153
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7500
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3654
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.