RE: [PHP-WIN] Apache will not parse HELP PLEASE

From: Date: Sat, 10 Nov 2001 22:46:53 +0000
Subject: RE: [PHP-WIN] Apache will not parse HELP PLEASE
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10341@lists.php.net to get a copy of this message
What code are you seeing? The php code or the html code it would produce? If it's the html code it would generate, then you're not sending the write headers for it (ie ContentType: text/html), and if it's the PHP code then you haven't edited the httpd.conf file that apache uses to tell it about the existance of PHP. ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" in your conf file, where c:/php is the path you installed PHP to. Ross -----Original Message----- From: H. White [mailto:hw@hworb.net] Sent: 09 November 2001 17:37 To: php-windows@lists.php.net Subject: [PHP-WIN] Apache will not parse HELP PLEASE Big problem can not figure out why my php files will not parse on Apache 1.3.22 installed on windows 98 I installed Apache and PHP 4.06 and followed directions to the letter 4 times over. I know both work independently in fact when I run Apache is says "Apache/1.3.22 <Win32> PHP/4.06 running... "and when I run phpinfo() -i from the command prompt it spits out the phpinfo but when I do a test file with any scripts <? phpinfo(); ?> and save it to my root htdocs as test.php all I see when open with my browser "http://localhost/test.php" is the code. It is like nothing is happening and the script is not being passed to the PHP module. I have been racking my brain and have followed every manual and direction and nothing. Definitely frustrated... Thanks in Advance ****************************************************** H. White of HWORB "Where Radiance meets Function" www.hworb.net Complete Multi-Media Services: Graphics, Web, Document, Marketing, & Consulting ****************************************************** " Beware of TRUE Desire, because it is unyielding and knows no limit " -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10341) next »