RE: [PHP-GENERAL] php not executing in html

From: Date: Wed, 21 Jun 2000 18:49:51 +0000
Subject: RE: [PHP-GENERAL] php not executing in html
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2526@lists.php.net to get a copy of this message
You need to make sure apache knows to parse the php files. Check the httpd.conf file and make sure the following lines are present: AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php Jason > -----Original Message----- > From: Sean Mathews [mailto:smathews@dceg.com] > Sent: Wednesday, June 21, 2000 1:40 PM > To: php-general@lists.php.net > Subject: [PHP-GENERAL] php not executing in html > > > Heya Guys > > Newbie question. I have just installed php 4, I have done as it > says in the > install. When I run a file through the browser from a URL like > http://myserver/ddd.php the script runs fine, but if I have php > embedded in > a html document (using <? ?>, or <script language="php"> > </script> or <?php > ?>tags) and call the http://myserver/ddd.html it does not > execute the > script. It just includes it in my html (not visible because of the tags) > instead of processing it. Whats up? > > I am using: > > PHP 4 > Redhat Linux 6.1 > Apache > > Thnx > > S > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#2526) next »