Jump to content

apache can't read php files.


Recommended Posts

hi i'm using windows xp home edition. i followed the intructions on this web - [a href=\"http://www.jamiejamie.com/?q=node/44\" target=\"_blank\"]http://www.jamiejamie.com/?q=node/44[/a]

on [a href=\"http://localhost/\" target=\"_blank\"]http://localhost/[/a] i did see a default apache website. but if i do a <?phpinfo?> on notepad with a .php extension. and do a run on apache it comes out the codes that i type in the notepad. did i configured anything wrongly? i'm using php5.1.3, apache 2.0.55.
Link to comment
Share on other sites

Make sure you are saving it as filename.php and not filename.php.txt. To make sure yo uare not saving it as filename.php.txt when you go to save make sure the file type menu has All Files selected and then save it as filename.php

Also how have you configured your Apache server to parse php files as I cannot get on the site you have provided to see how "jamie" sets up Apache/PHP on your PC.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.