|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3950 with MySQL doesn't work unless mysql directory specified
Submitted: 2000-03-28 16:46 UTC Modified: 2002-10-01 13:34 UTC
From: smuskiew at baynetworks dot com Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 3.0.15 OS: Red Hat Linux 6.1
Private report: No CVE-ID: None
 [2000-03-28 16:46 UTC] smuskiew at baynetworks dot 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 (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, 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 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 gets built but it just doesn't work.  Which is pretty confusing when you try to debug the problem... :-0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:34 UTC]
there is documentation on bundled vw. external mysql lib in the manual ...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 00:01:35 2024 UTC