php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1550 Adding libphp3.a library as an Apache module causes runtime error
Submitted: 1999-06-16 13:24 UTC Modified: 1999-06-20 09:21 UTC
From: sowens at 3iresource dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.8 OS: Linux Redhat 5.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sowens at 3iresource dot com
New email:
PHP Version: OS:

 

 [1999-06-16 13:24 UTC] sowens at 3iresource dot com
When I try to configure PHP and Apache as defined in the documentation, I get a runtime error when trying to start Apache up again.

It is something along the lines of:

/lib/libnss_files.so.1: undefined symbol : _nss_files_parse_servent
                      >./apachectl start:  httpd could not be started.

When I take out the --with-mysql option from the PHP configuration, configure & compile PHP, then configure and compile Apache, everything works fine.  I have installed mySQL for Linux from the binaries.

My PHP configure statement looks like this:
 ./configure --with-mysql --with-apache=../apache_1.3.6 --enable-track-vars

My Apache configure statement looks like this:
./configure --activate-module=src/modules/php3/libphp3.a

For now, I will go ahead and use mSQL instead, but eventually, I would like to use mySQL instead.

Steve Owens

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 09:21 UTC] sas at cvs dot php dot net
Try to figure out which library on your system needs the missing symbol(s) and rebuild that library. Rebuilding MySQL from source should be sufficient.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 13:01:29 2024 UTC