for some reason, whenever i try to access a php file from a Html on ym computer, it thinks that i am trying to download it, why wont it let me run it like i planned? 
for some reason, whenever i try to access a php file from a Html on ym computer, it thinks that i am trying to download it, why wont it let me run it like i planned? 
Renegade posted this at 07:40 — 13th November 2005.
He has: 2,944 posts
Joined: Oct 2002
Do you have PHP installed and enabled? I had that problem before until I realised that I didn't enable it.
Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces
allong posted this at 07:42 — 13th November 2005.
They have: 3 posts
Joined: Nov 2005
could you tell me how?
Renegade posted this at 07:48 — 13th November 2005.
He has: 2,944 posts
Joined: Oct 2002
Do you have the following three lines set similar in your http.conf file?
DirectoryIndex index.php index.html index.cgi index.pl index.xhtmlAddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
'
When that is done, restart apache.
Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces
Dudester posted this at 21:08 — 15th November 2005.
He has: 43 posts
Joined: Apr 2004
Im no expert but remember this hurdle when I hit it.
Sounds like your trying to execute a .php file on your local machine without having PHP installed locally.
I never bothered installing PHP locally, instead I just upload my file each time and test it on the live server, youll find it will execute fine there.
ipodman posted this at 14:04 — 16th November 2005.
He has: 9 posts
Joined: Nov 2005
I had that problem but i am not sure how i fixed it:( i just download a few things:(