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!
When I make a .php file, it comes up as an image file
Moderator: General Moderators
-
darkforcesjedi
- Forum Newbie
- Posts: 5
- Joined: Sat Mar 27, 2004 1:33 pm
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
http://localhost/folder/name.php
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.
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.