Re: #exec and php together

From: Date: Tue, 03 Jul 2001 17:39:50 +0000
Subject: Re: #exec and php together
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56026@lists.php.net to get a copy of this message
> The problem with this is that, by default, Apache will ONLY parse > PHP code if the extension matches the PHP extension in > httpd.conf. You could add .htm and .html to that extension match > if you'd like, and that could possibly do it. No, that is not the problem. I don't want the .htm file parsed by Apache server. I want to include the output of php into an html file. I've also tried to specify the full path of php executable into hello.htm with the following: <!--#exec cgi="/usr/local/bin/php -q /v/www/hello.php" --> without success. Dr. Paolo Ciraci ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Responsabile Sistemi Informativi webmaster@nautica.it Nautica Editrice S.r.l. http://www.nautica.it Via Tevere 44, Roma - tel 06 8413060

« previous php.general (#56026) next »