i need help :(
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: 3,022 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.
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: 3,022 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.xhtml
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
When that is done, restart apache.
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:(
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.