Just a quick note.

/usr/ports/lang/php4 also includes command line interface beside the apache module. if you only need mod_php, you can cd to /usr/ports/www/mod_php4 instead.


Andras Kende wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hunter
Sent: Friday, May 14, 2004 2:01 PM
To: [EMAIL PROTECTED]
Subject: Apache 2 / PHP Installation

Hi all,
I installed Apache 2 from the ports collection. Does apache2 come with php support? Probably not, but not sure. I want to install php on the system. I'm not sure what port I need to install?? All the pre recks.. are for 1.* versions of Apache. What's the deal?


Thanks so much,
Bruce
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




Bruce,

Cvsup the latest ports tree...

cd /usr/ports/lang/php4 ; make install clean

add this 2 lines to /usr/loca/etc/apache2/httpd.conf :
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

/usr/local/etc/rc.d/apache2.sh stop
/usr/local/etc/rc.d/apache2.sh start

Create a php test file and see if its working....



Andras Kende
http://www.kende.com




_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"



_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to