IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old February 23rd, 2005, 12:41 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
PHP not running?

Hello,
New guy here!! First Post and New in general to PHP and its operation.

I have PHP4 running on an IIS server for an intranet, I have phpmysearch loaded and use this for my internal search engine. However, when I attempt to administer or even run the spider it gives me no error, it just displays the code associated with that php page.

IIS is on a 2000 os. Any help would be greatly appreciated.

Reply With Quote
  #2  
Old February 23rd, 2005, 04:43 PM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
Perhaps you haven't registered the .php type as something special to be parsed by PHP?

I'm not really sure what the problem is. I deal with PHP on *nix, which is where it's meant to be. Same with webservers, for that matter. If you want to use PHP, you should get a decent OS and webserver. Sorry, that's my little rant.
__________________
May the source be with you - obi_wonton

Reply With Quote
  #3  
Old February 23rd, 2005, 05:01 PM
richtom80 richtom80 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Location: Gravesend » Kent » UK
Posts: 150 richtom80 User rank is Corporal (100 - 500 Reputation Level)richtom80 User rank is Corporal (100 - 500 Reputation Level)richtom80 User rank is Corporal (100 - 500 Reputation Level)richtom80 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 43 m 37 sec
Reputation Power: 8
Send a message via MSN to richtom80
What obi_wonton was saying about registering php file types can be found in your iis manager. You can either apply it to all the sites or the specific site that you are working on. To do this right click on your site/server from iis manager

Then:

Properties » Home Directory (tab) » Configuration (button) » Add (button)

· Find the exercutable (should either be in C:\PHP\php.exe or similar)
· in extention type .php
· and you will require all verb

Hope that helps if you were in the dark.

Reply With Quote
  #4  
Old February 23rd, 2005, 07:16 PM
rave41799 rave41799 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 132 rave41799 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 34 m 23 sec
Reputation Power: 5
Send a message via AIM to rave41799 Send a message via Yahoo to rave41799
Not sure how you're trying to run it but just something I experience when I first started with PHP was that if you try and double-click the PHP file, it wont open it, it'll show the PHP code.

You actually have to browse, using IE, to the address on your server where it's at.

I still agree *nix is a great choice to develop PHP efficiently but Windows works just fine!

Reply With Quote
  #5  
Old February 24th, 2005, 10:14 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 59 sec
Reputation Power: 688
Also use the IIS manager and make sure the php web pages are in a virtual directory that allows script execute permissions.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > PHP not running?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway