Page 1 of 1
When I make a .php file, it comes up as an image file
Posted: Sun Mar 28, 2004 9:33 am
by johnpaine
I have installed php using a php installer, to install with Apache 2, but when I go to make a php file and save it as name.php it comes up as being a Microsoft Picture it file insted. I am currently running windowsXp, and apache 2 server.
Do I need to delete the file extention for that specific image file, in order to have a .php extention?
Thank you very much!
Posted: Sun Mar 28, 2004 9:42 am
by darkforcesjedi
The PHP file should work fine with Apache, no matter what program its associated with. Try accessing it like this:
http://localhost/folder/name.php
Posted: Sun Mar 28, 2004 9:55 am
by johnpaine
didnt work, maybe I didnt fully install PHP,
When i was first installing it php.exe didnt open, how should I go about installing this fully on my computer, its just not seeming to work

Posted: Sun Mar 28, 2004 10:53 am
by werlop
Does apache serve normal html pages? if not, then you will need that installed properly first.
See
http://www.php.net/manual/en/install.apache2.php for php installation instructions with apache 2. Scroll down to get to the Windows section.
You can remove the file association in folder options, but as already mentioned, that shouldn't make a difference to the serving of php files.