From owner-freebsd-ports@FreeBSD.ORG Sat Jul 24 23:13:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC33416A4CE for ; Sat, 24 Jul 2004 23:13:29 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E42243D39 for ; Sat, 24 Jul 2004 23:13:29 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i6ONDO1Y008231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jul 2004 00:13:24 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6ONDO8u008230; Sun, 25 Jul 2004 00:13:24 +0100 (BST) (envelope-from matthew) Date: Sun, 25 Jul 2004 00:13:24 +0100 From: Matthew Seaman To: Bruno Afonso Message-ID: <20040724231324.GB7816@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Bruno Afonso , freebsd-ports@freebsd.org References: <1090701499.4102c8bbbc3d7@mrna.ist.utl.pt> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <1090701499.4102c8bbbc3d7@mrna.ist.utl.pt> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Sun, 25 Jul 2004 00:13:24 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00, NEW_DOMAIN_EXTENSIONS autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-ports@freebsd.org Subject: Re: IMP breakage? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 23:13:30 -0000 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 24, 2004 at 09:38:19PM +0100, Bruno Afonso wrote: > I have uninstalled php4 and re-installed the new php4 + extensions and in= stalled > the latest horde + imp. I can't see attachments now when I open the messa= ges. Is > this a known problem? My php.ini only includes the loaded extensions and = some > memory tweaks. Is there any missing php.ini config that I have missed? I = notice > each php4-extension now has a message, like PEAR so I'm afraid I may have= missed > some important one. :) The imp / horde / turba group of ports hasn't yet been updated to account for the new PHP port structure. I think the maintainer is on holiday at the moment. However, most problems with PHP ports will be due to things being missing, rather than things being broken, so you can usually work-around the trouble by just installing the extra bits yourself. There's two areas you need to check on to make sure you get full functionality: i) PHP Extensions -- knowing which extensions should be installed depends on a detailed knowledge of the PHP code you're trying to run. So, for example according to the old php-horde port you need these extensions to run any of the imp / horde stuff: DOMXML FTP GETTEXT LDAP MCAL MCRYPT MYSQL (or some other RDBMS) SESSION (See: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php4-horde/Att= ic/Makefile?rev=3D1.2&content-type=3Dtext/x-cvsweb-markup&only_with_tag=3DM= AIN) ii) PEAR modules -- in order to use PEAR at all, you need to install the devel/php4-pear port, as well as whichever pear-* ports are required. Ports that require PEAR modules should be modified to set the WANT_PHP_PEAR option, but that hasn't been appied to many of them yet. Setting it in /etc/make.conf for the time being is a good workaround. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --xXmbgvnjoT4axfJE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBAu0TiD657aJF7eIRAlsTAJ9H1CQlKdgSFd5NrmfwHK6deEhhXwCdEMcx b+r0kj5okJtzxh0qq3b8QcE= =jFgM -----END PGP SIGNATURE----- --xXmbgvnjoT4axfJE--