[PHP-WIN] PHP4 won't display page From: Warren Hemming (warrenh <email protected>)
Date: 04/15/01

I have installed apache and PhP4 on a win 2000 machine. The apache server
will start up saying that PHP is running. I have created a test page in the
htdocs folder with the extention .php and saved as an ANSI endcoding. When I
view the apache server everything looks good, but when I put the test page
onto the URL all I see is the PHP code I wrote. Anyone have any suggestions
on how to fix this?

The httpd.conf file is correct. I have loaded this module LoadModule
php4_module c:/php4/sapi/php4apache.dll, and have the correct addtypes in
place. The php.ini file is in the WINNT folder, and the php4ts.dll is in
the system32 folder. I have tried all the help docs and have tried all the
books I could find.

This all the editing I did to the httpd.conf file:

    LoadModule php4_module c:/php4/sapi/php4apache.dll

    ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
    ScriptAlias /php4/ "C:/php4/"

    AddType application/x-httpd-php .phtml .phps
    AddType application/x-httpd-php-source .phps
    Action application/x-httpd-php /php4/php.exe

Can anyone tell my why the page is not loading correctly?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>