php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2645 modphp3_module / apache compile-time error
Submitted: 1999-10-31 14:20 UTC Modified: 1999-10-31 19:09 UTC
From: chemlab at cetlink dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Linux 2.2.11
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chemlab at cetlink dot net
New email:
PHP Version: OS:

 

 [1999-10-31 14:20 UTC] chemlab at cetlink dot net
Building PHP works fine, and building Apache without mod_php3 works fine, but when I build Apache with php support I get this:

...
gcc  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  -lm -lcrypt
modules.o(.data+0x48): undefined reference to `modphp3_module'
modules.o(.data+0x98): undefined reference to `modphp3_module'
collect2: ld returned 1 exit status

and then make aborts.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-31 17:47 UTC] rasmus at cvs dot php dot net
Your Apache configure line is wrong.  Please show us what you used.
 [1999-10-31 18:27 UTC] chemlab at cetlink dot net
./configure --prefix=/www --activate-module=src/modules/php3/libmodphp3.a

 [1999-10-31 18:34 UTC] chemlab at cetlink dot net
./configure --prefix=/www --activate-module=src/modules/php3/libmodphp3.a

 [1999-10-31 19:09 UTC] rasmus at cvs dot php dot net
There you go.  The documentation tells you to use --activate-module=src/modules/php3/libphp3.a
and not libmodphp3.a
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 14:00:02 2026 UTC