php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #308 Small error when linking with MySQL & Apache
Submitted: 1998-04-24 02:26 UTC Modified: 1998-07-30 08:28 UTC
From: a dot vanerven at consultant dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0 Release Candidate 4 OS: SCO OpenServer 5.0.4C
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: a dot vanerven at consultant dot com
New email:
PHP Version: OS:

 

 [1998-04-24 02:26 UTC] a dot vanerven at consultant dot com
When you'd like to link Apache httpd with PHP-3.0C3-C4,
the Makefile produced by Apache will place the
-lmysqlclient - option AFTER the -lsocket option.
This produces the following error when linking httpd:
"getservbyname" first referenced in modules/php3/modphp3.
You can resolve this by putting -lsocket AFTER
-lmysqlclient. 

Best regards,

Aart

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 08:28 UTC] rasmus
This has been fixed in 3.0.2
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 01:01:28 2025 UTC