RE: [PHP-INST] inline php not working

From: Date: Tue, 16 Apr 2002 18:27:33 +0000
Subject: RE: [PHP-INST] inline php not working
Groups: php.install 
Request: Send a blank email to php-install+get-6655@lists.php.net to get a copy of this message
You need to tell apache to parse .html files with the php parser. By default apache is setup to parse .php files. Not .html files. Here is the line from httpd.conf. --------------------------------------- AddType application/x-httpd-php .php --------------------------------------- -----Original Message----- From: Daniël Beukers [mailto:daniel.beukers@games.lostboys.com] Sent: Tuesday, April 16, 2002 7:51 AM To: Php-Install (E-mail) Subject: [PHP-INST] inline php not working Hi, on my machine, php gets properly executed from .php files but NOT from inside .html files. When I include some inline php-code like <?php echo "hello" ?> inside HTML files it doesn't get parsed by php. It seems to me like it's a configuration switch, but I can't seem to find where. I'm running FreeBSD 4.5-RELEASE-p2. I installed apache 1.3.24_1 and mod-php4-4.1.2 from the ports. any ideas? thanks, Daniël. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#6655) next »