|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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! ![]() |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > PHP not running? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|