Apache 2 / PHP Installation
Android66
android.66 at volja.net
Fri May 14 15:17:43 PDT 2004
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: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Bruce Hunter
> Sent: Friday, May 14, 2004 2:01 PM
> To: freebsd-questions at freebsd.org
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
>
> 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
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list