Bug #3950: libphp3.so with MySQL doesn't work unless mysql directory specified
| From: | smuskiew at baynetworks dot com | Date: | Tue, 28 Mar 2000 21:46:09 +0000 |
| Subject: | Bug #3950: libphp3.so with MySQL doesn't work unless mysql directory specified | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17331@lists.php.net to get a copy of this message | ||
From: smuskiew@baynetworks.com
Operating system: Red Hat Linux 6.1
PHP version: 3.0.15
PHP Bug Type: Installation problem
Bug description: libphp3.so with MySQL doesn't work unless mysql directory specified
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