hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Install PHP 4.3 on IIS 6
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Install PHP 4.3 on IIS 6

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-18-2005, 09:01 AM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24

Install PHP 4.3 on IIS 6


Ok...I got a lil problem.

I got a win 2k3 server running IIS 6.

I just installed php on it, at least to everything that I know and read.

it should work.

I got 2 lil test pages (don't know why 2, but what ever)

can't get anything to work. I change the .php to .asp and well a page (mind you blank) shows up. I'm eveing viewing the pages from http://localhost/

when I try to open a .php page I get the good ol' 404 "The page cannot be found" error

I'm 95% sure I got the permissions set up right.

any ideas would be great.

Thank you

Reply With Quote


Sponsored Links
  #2  
Old 04-18-2005, 09:12 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
Under your IIS web extensions, is PHP enabled?

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #3  
Old 04-18-2005, 09:41 AM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24
Quote:
Originally posted by sprintserve
Under your IIS web extensions, is PHP enabled?

yes sir. with the exe of c:/php/php.exe and all verbs. Script engine is checked.

btw: doc_root = C:\www (yes that is the root dir for my HTTP server)


Last edited by Chucky_5150; 04-18-2005 at 09:49 AM.
Reply With Quote
Sponsored Links
  #4  
Old 04-18-2005, 09:49 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
Did you create a default website in IIS? And point the home directory at where you put the files.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #5  
Old 04-18-2005, 09:55 AM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24
Quote:
Originally posted by sprintserve
Did you create a default website in IIS? And point the home directory at where you put the files.
I don't know how "default" it is, but yes I got a web site hosted there

I've even looked in the php.ini some more, and I can't see anything that shows up as out of place.

I've never installed PHP before, but I can't seem to find anything I'm missing.

Reply With Quote
  #6  
Old 04-18-2005, 01:24 PM
mwaseem mwaseem is offline
Web Hosting Guru
 
Join Date: Dec 2003
Location: Pakistan
Posts: 339
Follow these steps...

. Remove the existing IIS Extension from IIS
. Create a new extension and add path to <path-to-php>\php4isapi.dll
. Create application mapping for PHP on your default web site so that IIS would execute .php files with <path-to-php>\php4isapi.dll
. Set verbs to GET,SET,HEAD,POST,DEBUG

This should work for you as it is working for me

__________________
Muhammad Waseem
Inspedium Corporation (Pvt) Ltd.
InsPanel - Hosting Control Panel for Windows 2000/2003

Reply With Quote
  #7  
Old 04-18-2005, 02:16 PM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24
Quote:
Originally posted by mwaseem
Follow these steps...

. Remove the existing IIS Extension from IIS
. Create a new extension and add path to <path-to-php>\php4isapi.dll
. Create application mapping for PHP on your default web site so that IIS would execute .php files with <path-to-php>\php4isapi.dll
. Set verbs to GET,SET,HEAD,POST,DEBUG

This should work for you as it is working for me
Ok, let me make sure I'm going to do this right. Seeing as how I'm more of a linux junkie (and not much of a junkie at that).

"Remove the existing IIS Extension from IIS"
you want me to remove the existing .php (?) extesnion

the php4isapi.dll is in the same directory as the php.exe

so really I don't need to update the PATH info, because it's the same dir (c:/php) right?

I edited thephp mapping to point to the php4isapi.dll (used to be php.exe) and set the verbs.

Still getting page can not be found.

ugh.

yeah, I'm really new to this stuff if you can't tell.

Reply With Quote
  #8  
Old 04-19-2005, 05:49 AM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24
Ok I uninstall everything. I did a search to make sure I didn't miss someting. then I rebooted.

I reinstalled (this time from the installer.exe), made sure I added the permissions that I told me to add.

Still get the same "page can not be found" error.

aghaghahg!

Maybe I'll give apache a try, since I don't have any need for asp at all.

Reply With Quote
  #9  
Old 04-19-2005, 07:38 AM
boonchuan boonchuan is offline
Retired Moderator
 
Join Date: Mar 2004
Location: Singapore/Melbourne
Posts: 6,815
Under IIS , there are SMTP , FTP, Web and Web Extensions, did you go to Web Extensions to enable PHP?

Reply With Quote
  #10  
Old 04-19-2005, 09:41 AM
Chucky_5150 Chucky_5150 is offline
Newbie
 
Join Date: Mar 2005
Posts: 24
Quote:
Originally posted by boonchuan
Under IIS , there are SMTP , FTP, Web and Web Extensions, did you go to Web Extensions to enable PHP?

yeah....to the best of my know-how I did. But IIS is off and replaced with apache 2.0.


You know that feeling when you been up all night working on something.

well here it is

I ended up installing apache 1.3, then found out that apache 2 was out. So I uninstalled 1.3, installed 2.0. Then installed PHP 4.3.11

and it works!

thanks for your time.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host A2 Hosting Launches Customizable VPS Hosting Plans Web Hosting News 2012-06-07 15:11:57
Web Host Cyber Host Pro Launches New VPS Packages Web Hosting News 2011-09-16 18:15:55
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?