Re: FreeBSD newbie (not PHP newbie)

From: Date: Tue, 06 Aug 2002 11:09:44 +0000
Subject: Re: FreeBSD newbie (not PHP newbie)
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-general+get-111357@lists.php.net to get a copy of this message
Hi Andy, First I would avoid Apache 2 like the pluage until the dust settles... here is what I do to install. 1. Update the ports using cvsup 2. Install Apache 1.3.x [mod-ssl] from the ports, easily. cd /usr/ports/www/apache13-modssl/ && make install clean 3. Download php-4.2.2 and un-tgz into /usr/local/php-4.2.2/ 4. ./configure passing in "--with-apxs" and any other configure args 5. make install clean et voila! You can pull PHP from the ports as well, if you really want to - located in /usr/ports/www/mod_php4/ ... but it has some issues with building and locating libxml2 dependancies. - Dan > I've recently been landed with a FreeBSD machine upon which I need to > put the latest stable version of PHP from the snapshots, as we have a > problem with the release version of 4.2.2. > > The ports collection is new to me, as is cvsupit, but from what I can > gather things aren't going to be pretty if I simply try to compile the > PHP from the source as I would on, say, RedHat, and plug it in to Apache > with APXS. Ideally I'd like to use ports / cvsupit to get the latest > stable release snapshot, so as to preserve system integrity, but I can't > figure out how! > > It seems that I need to have a port of a specific package to properly > integrate it into the system - is this the case? Or _can_ I just do a > ./configure && make && make install as I would have on other versions of > linux? > > I'm using Apache 2.0.39. -- Dan Hardiker [dhardiker@staff.firstcreative.net] ADAM Software & Systems Engineer First Creative Ltd

« previous php.general (#111357) next »