[PHP] Apache 1.3/PHP

2004-01-22 Thread Tom Ray [List]
For the first time ever I installed FreeBSD 4.9, I then installed Apache 1.3 and PHP 4.3.3-CGI from /usr/ports on the machine. It seems that everything is ok, but when I try to use a .php file it does not run it through the parser. So when I hit test.php in my browser it outputs: ? print Test

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread BAO RuiXian
Tom Ray [List] wrote: [snip]... ?php print Test 123; ? I'm sure I'm missing a line or two in my httpd.conf, but I really don't know what they would be. Anyone with experience with FreeBSD/Apache/PHP give me a hand? Do you have the following line in your httpd.conf: AddType

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread John Nichel
Tom Ray [List] wrote: For the first time ever I installed FreeBSD 4.9, I then installed Apache 1.3 and PHP 4.3.3-CGI from /usr/ports on the machine. It seems that everything is ok, but when I try to use a .php file it does not run it through the parser. So when I hit test.php in my browser it

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread Tom Ray [List]
] [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Fri, 23 Jan 2004 00:11:42 +0200 Subject: Re: [PHP] Apache 1.3/PHP Tom Ray [List] wrote: [snip]... ?php print Test 123; ? I'm sure I'm missing a line or two in my httpd.conf, but I really don't know what

[PHP] Re: [users@httpd] Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread jeffrey_n_Dyke
: 01/22/2004 05:25 Subject: [EMAIL PROTECTED] Re: [PHP] Apache 1.3/PHP PM

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread Chris Shiflett
--- Tom Ray [List] [EMAIL PROTECTED] wrote: It seems that everything is ok, but when I try to use a .php file it does not run it through the parser. Make sure this is in your httpd.conf: AddType application/x-httpd-php .php Of course, also make sure you have PHP. :-) Chris = Chris

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread Chris Shiflett
--- Tom Ray [List] [EMAIL PROTECTED] wrote: As far as AddType goes for PHP this is what I have: [snip] IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule My bet is that you didn't build Apache with PHP

[PHP] Re: [users@httpd] Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread BAO RuiXian
- From: BAO RuiXian [EMAIL PROTECTED] To: Tom Ray [List] [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Fri, 23 Jan 2004 00:11:42 +0200 Subject: Re: [PHP] Apache 1.3/PHP Tom Ray [List] wrote: [snip]... ?php print Test 123; ? I'm sure I'm missing a line

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread John Nichel
Tom Ray [List] wrote: As far as AddType goes for PHP this is what I have: IfModule mod_php3.c AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s /IfModule IfModule mod_php4.c AddType application/x-httpd-php .php