From owner-freebsd-questions@FreeBSD.ORG Fri May 12 19:25:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16C6E16B852 for ; Fri, 12 May 2006 19:25:03 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 766EA43D5D for ; Fri, 12 May 2006 19:24:53 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k4CJOaQ8021004; Fri, 12 May 2006 20:24:36 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4464E0EF.8010201@infracaninophile.co.uk> Date: Fri, 12 May 2006 20:24:31 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: Jonathan Horne References: <20060512185626.D57174@justnosweat.net> <52234.167.246.36.14.1147458889.squirrel@mail.dfwlp.com> In-Reply-To: <52234.167.246.36.14.1147458889.squirrel@mail.dfwlp.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigE5BA6BC8618647749D12E3E0" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 12 May 2006 20:24:36 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.2/1460/Fri May 12 14:09:22 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, justin Subject: Re: libphp5.so not compiling for apache (was hello) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 19:25:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE5BA6BC8618647749D12E3E0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Jonathan Horne wrote: >> I `ve got a question about installing the php5 module. >> I`m installing it from the /usr/ports/www/php5-session port. >> >> Everything runs ok and it seems like the module is installed. >> There is only one problem, in the httpd.conf there is a LoadModule >> php5_module refering to libexec/apache/libphp5.so. >> >> The library libphp5.so is not made by the install and so my appache wi= ll >> not start with the php5 enabled. >> >> What is wrong and what can i do to let the install make the libphp5.so= =2E >> >> Ok thanks in advance, >> Justin. >> >> >> >=20 > i was having the same issue yesterday. take a look at the > /usr/ports/lang/php5/Makefile. this was where my problem was, and tho = i > didnt use the www/php5-session, i would make a bet that if you begin fr= om > there with no php5 installed at all, then it backs up and begins from > lang/php5, and then moves on from there. >=20 > the problem with my lang/php5/Makefile was, that this line was not > included (totally not there... not even there and commented out): >=20 > WITH_APACHE=3D yes >=20 > once i added it, did a pkg_delete -r php5-5.1.4 (-r =3D recurse all > dependencies against this package), and started over, the lib file > compiled on the next attempt. >=20 > the port for php5-5.1.2 included that line, and therefor the lib file > compiled by default previously. im not sure if the omission of > "WITH_APACHE=3D yes" was by intention or not, but ill have to be sur= e to > check it for near future installs. The canonical way to do this is by typing 'make config' in the lang/php5 port, and making sure the 'Apache' checkbox is checked. Then reinstall php5. This will create a supplementary makefile under /var/db/ports/ whic= h will set various options according to your desires, and which will persis= t across ports updates and so forth. It is, however, a bit of a bug in the= whole options processing thing that if the list of available options chan= ges, you aren't prompted to redo the configuration step when you go to update the port. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE5BA6BC8618647749D12E3E0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEZOD08Mjk52CukIwRA3XRAJ96R/OzalARd5lhc9JE0GyA4oed2QCePr2C AIQu92bnWLX/IgZif4ZqQLU= =5gY7 -----END PGP SIGNATURE----- --------------enigE5BA6BC8618647749D12E3E0--