![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Junior Member Group: Members Posts: 25 Joined: 1-April 04 Member No.: 639 ![]() |
Hi. I recently installed IIS on my comp and installed PHP after that. I went to Internet Information Services and opened the Properties of the Default Website. Under the Home Directory tab, I changed the Execute Permissions to Scripts and Executables. After which I was able to open .php files such as one with the following script:
<?php phpinfo(); ?> However today I tried opening .php files from my browser and instead of displaying the results of the script, it opens the .php as a text file in notepad. Can anybody tell me what's wrong?? What must I do so that the browser won't open my .php files in notepad? Thanks. ![]() |
|
|
![]()
Post
#2
|
|
Not So Junior Member Group: Members Posts: 145 Joined: 21-January 04 Member No.: 430 ![]() |
They always open in notepad as if you are going to edit them - if you are trying to view them as webpages I'm not sure how thats done as PHP links together from many different pages.
|
|
|
![]()
Post
#3
|
|
Junior Member Group: Members Posts: 26 Joined: 3-September 03 Member No.: 269 ![]() |
recheck your IIS execution permissions...
If everything is fine then try checking the attributes of the php files you are trying to view with your web browser. Is about as much as I can help... also, have you installed the cgi version of apache? |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 19th April 2018 - 05:40 PM |