Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP under Windows Vista & IIS 7.0

Status
Not open for further replies.

scripter50

IS-IT--Management
Dec 9, 2002
35
0
0
US
Not able to install any version of PHP on Vista under IIS 7.0. Most common error relates to ISAPI module not being properly configured. Any ideas out there?
 
yep...get rid of IIS and install Apache server. If you need ASP, grab a developers version of Chilisoft.

Steve Davis

NOTE: This sig does not include any reference to voting, stars, or marking posts as helpful as doing so is cause for membership termination.
 
scripter50
i have two installations of vista/IIS7 working just fine within the latest public release of the php 5 code tree. so we can be sure that it "works" just fine.

we can help you if you provide us with precise error messages and descriptions of the steps you have taken to get where you are.

id also recommend installing php manually (using the zip file without installer) rather than trying to use the installer. it takes a little more time but, imo and ime, gives a better installation.
 
The error msg is this:

HTTP Error 500.0 - Internal Server Error
Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x80070003

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL:
Physical Path: C:\inetpub\
Logon User: Anonymous

Logon Method: Anonymous

Handler: PHP-ISAPI

Most likely causes:

IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
IIS was not able to process configuration for the Web site or application.
The authenticated user does not have permission to use this DLL.
The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

Thanks for your help!!!
 
you need to make sure that the IIS user (typically IUSR_{MACHINENAME]) has read/write access to php.ini and read/execute access to several files in the php directory. I (probably wrongly) just give full access to the whole folder and its contents when i am debugging installations.

secondly, it may also be that your php.ini is trying to include extensions that are not fully installed. for debugging, ensure that you are not trying to load any extensions.

third make sure that the environment variables. ideally this will be to add your php directory to the path but you can also set up the PHPRC environment variable to point to the path (not the file) at php.ini can be found
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top