#3950 [Opn->Bgs]: libphp3.so with MySQL doesn't work unless mysql directory specified

From: Date: Tue, 01 Oct 2002 18:34:51 +0000
Subject: #3950 [Opn->Bgs]: libphp3.so with MySQL doesn't work unless mysql directory specified
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21024@lists.php.net to get a copy of this message
ID: 3950 Updated by: hholzgra@php.net Reported By: smuskiew@baynetworks.com -Status: Open +Status: Bogus Bug Type: Installation problem Operating System: Red Hat Linux 6.1 PHP Version: 3.0.15 New Comment: there is documentation on bundled vw. external mysql lib in the manual ... Previous Comments: ------------------------------------------------------------------------ [2000-03-28 16:46:09] smuskiew@baynetworks.com I'm not sure if this is a build or a documentation problem (or a little of both): if you try to build PHP as an Apache DSO on a Red Hat Linux 6.1 install (with apache and apache-devel-1.3.9-8 rpms) and the standard MySQL rpms from www.mysql.net (3.22.30-1) and don't explicitly specify the path to mysql to configure, ie.: ./configure --with-apxs=/usr/sbin/apxs --with-mysql then it still builds a libphp3.so, but when you try to start Apache with it, the httpd process refuses to start (no error messages or warnings, either). However, if you specify "--with-mysql=/usr", then the libphp3.so builds and works just fine. I know there have been other bug reports that say that you need to specify a directory for --with-mysql, but in this case if you don't, you don't get any errors from the build process (nor from Apache) - the libphp3.so gets built but it just doesn't work. Which is pretty confusing when you try to debug the problem... :-0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3950&edit=1

« previous php.bugs (#21024) next »