[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: php and postges in apache
>> How do edit /etc/httpd/conf/httpd.conf to get a simple php command like:
>> <?php echo "This is a test"; ?>
>>to print?
>>once httpd.conf is edited for this is there more to do to get the
postgres
>>functions to work or will they work as long as the packages are
installed?
> I'm not using php (yet!) but I was under the impression the php code
went
>inside the html code!
><php?>
><?php echo "This is a test"; ?>
><end php?>
> Or something like that.
<?PHP
BLAH BLAH
YADA YADA
WOOF WOOF
?>
The following in /etc/httpd/conf/httpd.conf
LoadModule php4_module modules/libphp4.so
. . .
AddModule mod_php4.c
. . .
AddType application/x-httpd-php .php .php3