I have tried everything listed below. Any more Ideas.....
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 15, 2001 8:57 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP4 won't display page
Ok, first as mentioned on another email, change your
AddType application/x-httpd-php .phtml .phps
to:
AddType application/x-httpd-php .phtml .php
also, try putting your php scripts in your script alias, in your case
c:\php4 and call them by using yourdomain/php4/scriptname
hope this helps
~Jeff
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?