Re: newbie problem - code shows no output
| From: | David Banning | Date: | Sun, 16 Jul 2000 01:37:56 +0000 |
| Subject: | Re: newbie problem - code shows no output | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6791@lists.php.net to get a copy of this message | ||
Since FreeBSD automically configures and installs from ports
there is not alot for me to change - except httpd.conf
I don't have a php3.ini installed so I copied php3.ini-dist to php3.ini,
into /usr/local/lib
the manual says to add line in httpd.conf -
'AddType application/x-httpd-php4 .php'
it's already there from what I can see;
well I have in my httpd.conf;
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
</IfModule>
#
# And for PHP 4.x, use:
#
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
Doesn't the above take care of it?- I'm assuming the
<IfModule mod_php3.c> tests for php3 and gives the
appropriate AddType line(s)
I'm using php3 (although I had the same problem with php4)