php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6995 [xref bug #6551] Compiling with --with-mysql=/path/to/mysql results in segfault
Submitted: 2000-10-03 16:08 UTC Modified: 2000-10-30 11:24 UTC
From: markc at liquidev dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.2 / Linux 2.2.14
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: markc at liquidev dot com
New email:
PHP Version: OS:

 

 [2000-10-03 16:08 UTC] markc at liquidev dot com
[xref bug #6551]

Summary:  apache will not start (apachectl start) when the LoadModule directive for PHP is present.  The only
way to use PHP is to remove the directive, start apache, add the directive, and then restart apache (apachectl restart).  Additionally, the php.ini file will not be loaded.

The problem occurs when you're NOT using the built-in mysql library.  I'm using the mysql-3.22.32 rpms from www.mysql.com.  If I compile with --with-mysql=/usr, I get the bug described below.  If I use the internal mysql library, I don't get the bug.  The bug is causing a segmentation fault.  gdb is confused afterwards, bt doesn't display
anything useful.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 11:24 UTC] sniper@php.net
Please upgrade to PHP 4.0.3pl1 and if this happens
using that too, reopen this bug report.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 20:01:32 2024 UTC