Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2004 00:17:14 +0200
From:      Android66 <android.66@volja.net>
To:        Andras Kende <andras@kende.com>
Cc:        'Bruce Hunter' <bhunter@solisix.com>
Subject:   Re: Apache 2 / PHP Installation
Message-ID:  <40A5456A.5000902@volja.net>
In-Reply-To: <20040514220123.3AA7743D1F@mx1.FreeBSD.org>
References:  <20040514220123.3AA7743D1F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Bruce Hunter
> Sent: Friday, May 14, 2004 2:01 PM
> To: freebsd-questions@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A5456A.5000902>