php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3950 libphp3.so 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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: smuskiew at baynetworks dot com
New email:
PHP Version: OS:

 

 [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 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:34 UTC] hholzgra@php.net
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 Apr 25 06:01:35 2024 UTC