From owner-freebsd-ports Fri May 12 5:49:51 2000 Delivered-To: freebsd-ports@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id 0130237B575 for ; Fri, 12 May 2000 05:49:43 -0700 (PDT) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.3/8.9.3) id OAA23539; Fri, 12 May 2000 14:48:50 +0200 (CEST) (envelope-from ibex) Date: Fri, 12 May 2000 14:48:50 +0200 From: Dirk Froemberg To: "Leland V. Lammert" Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: apache+php-1.3.12+4.0b3 Message-ID: <20000512144849.B21646@physik.TU-Berlin.DE> References: <4.3.1.2.20000509090713.00a9a940@mail.omnitec.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4.3.1.2.20000509090713.00a9a940@mail.omnitec.net>; from lvl@omnitec.net on Tue, May 09, 2000 at 09:13:14AM -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Leland! Did you select mysql support in the configuration menu of apache13-php3? If not try to do so... 8-) Regards Dirk On Tue, May 09, 2000 at 09:13:14AM -0700, Leland V. Lammert wrote: > Sorry to bother you, .. but I have a problem that is driving me nuts ! > > I installed the port above, . . and then MySQL (FreeBSD current port). Apache runs fine, .. PHP4 runs fine, .. MySQL runs fine from the command line and Webmin. The problem is, whenever I try to use the 'extension=libmysqlclient.so.6' to dynamically load the MySQL client in the PHP4 ini, Apache refuses to start at all! No message in error_log, .. no processes started, .. just a PID created with nothing else. > > I tried asking on the PHP mailing list, but nobody knew, .. so I realized that you might have some insight. > > > Is there a special .so I need for PHP4? > > > Must PHP4 be configured somewhere else to load the MySQL DSO? It looks like using the 'extension=' is all that is required, .. though the path for a Unix box seems sort of obfuscated - I just copied the module into the apache/modules directory. > > I know that PHP is finding the module because if I change the name to a module that cannot not found I get an error in Apache's error_log. -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message