I've installed php4.1.1 for Win32 on my Windows ME machine, with Apache 1.3.22 installed as well.
My basic problem is that I will open a "Text Document" in Notepad and save the document as a .php file. When I bring it up in my browser, it just displays the contents (source) of the PHP file.
If you look in the file manager, you can see that the file type is "Text Document".
This does not happen on my Windows 98 machine.
Well, I attempt to create a new filename extension and file type. The extension .php is already taken by Microsoft Picture It! Publishing. I can't beleive it uses .php. Anyway, I created a new one .php4. I tried to configure my httpd.conf file to recognize .php4 files, but it's still not working. I type in "http://localhost/blah2.php4 and I get this in my brower:
Invalid URI in request GET /blah2.php4 HTTP/1.0
I have this in my httpd.conf file:
AddType application/x-httpd-php .php .php4
Is this correct?
You can view my entire httpd.conf file here:
http://www.geocities.com/ferry399/apache/httpd_conf.txt
Does anyone have a good solution to this?
Thanks!
Robbie