From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 04:40:08 2004 Return-Path: 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 8E1BF16A4CE for ; Wed, 17 Mar 2004 04:40:08 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4755A43D2D for ; Wed, 17 Mar 2004 04:40:07 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i2HCe0hw028696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Mar 2004 12:40:00 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2HCe0Bt028695; Wed, 17 Mar 2004 12:40:00 GMT (envelope-from matthew) Date: Wed, 17 Mar 2004 12:40:00 +0000 From: Matthew Seaman To: Heinrich Rebehn Message-ID: <20040317124000.GD26606@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Heinrich Rebehn , freebsd-questions@freebsd.org References: <40582439.7060403@ant.uni-bremen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vni90+aGYgRvsTuO" Content-Disposition: inline In-Reply-To: <40582439.7060403@ant.uni-bremen.de> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: freebsd-questions@freebsd.org Subject: Re: apache+mod_ssl + php4 crashes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 12:40:08 -0000 --vni90+aGYgRvsTuO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 17, 2004 at 11:11:05AM +0100, Heinrich Rebehn wrote: > Hi list, >=20 > I have trouble running apache with php4. > when i try to start httpd, it crashes with signal 11. > If i remove php4 from httpd.conf, apache runs fine. > Installed packages: >=20 > apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS=20 > functionality > php4-4.3.4_7 PHP Scripting Language (Apache Module and CLI) > php4-horde-4.3.4_7 A default PHP configured for the Horde framework >=20 > Any ideas? This often comes about because one of the 3rd party apache loadable modules you're using is looking for a shared library which it cannot find. Try this: # cd /usr/local/libexec/apache ldd ./libphp4.so If there are any shared libraries 'not found' then you need to either install them, or use 'ldconfig -m dirname' to add the correct directories to the systems list of places to find shared libraries. To make that persist across reboots, ad the directories to the end of the list given for the 'ldconfig_paths' variable in /etc/rc.conf (take care when doing that, as if you screw up ldconfig, then virtually nothing will work on your system). Hmmm... looking at the port Makefiles, I don't think you should be able to install both lang/php4 and lang/php4-horde simultaneously. However, so long as you compile php4 with at least the settings: WITH_DOMXML=3D yes WITH_GETTEXT=3D yes WITH_SESSION=3D yes WITH_MCRYPT=3D yes WITH_MYSQL=3D yes WITH_OPENLDAP=3D yes WITH_IMAP=3D yes WITH_MCAL=3D yes WITH_FTP=3D yes then you can use either one of those ports. 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 --vni90+aGYgRvsTuO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAWEcgdtESqEQa7a0RAn9uAJ4xAZ+m1m6xy7vjiRZQiScJmawgBACfbabi 12hrUWrS1ZMci7XpemriZZY= =lbDv -----END PGP SIGNATURE----- --vni90+aGYgRvsTuO--