
February 20th, 2007, 06:12 PM
|
|
|
|
Join Date: Apr 2007
Location: Henderson, Nevada USA
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Windows Apache CGI File Association
I do development on Windows XP using Apache and typically Perl.
I am current running Apache 2.2.3 and I just installed PHP 5.2.1.
PHP runs fine from the command line “php.exe” but I can not get PHP to work in a web CGI environment. The problem has something to do with Windows file types (extensions).
I tried to associate "php.exe" with the file type .PHP with no success. I also tried to modify the registry everywhere I could find .php. But had no success.
When I try to execute a PHP file via a web browser it tries to run the PHP file in “notepad.”
Do anyone know how to fix this?
What are the registry entries to have .PHP file run PHP?
Thank you.
|