php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73 Apache fails to compile with PHP module
Submitted: 1998-02-16 14:26 UTC Modified: 1998-02-16 16:02 UTC
From: al at tetrion dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0b4 OS: Linux 2.0.33
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: al at tetrion dot com
New email:
PHP Version: OS:

 

 [1998-02-16 14:26 UTC] al at tetrion dot com
Compiling with the directions on how to compile PHP as a module with Apache and MySQL, Apache fails to compile:

gcc    -o httpd alloc.o http_main.o http_core.o http_config.o http_request.o htt
p_log.o http_protocol.o rfc1413.o util.o util_script.o modules.o buff.o md5c.o u
til_md5.o explain.o http_bprintf.o util_date.o util_snprintf.o mod_env.o mod_log
_config.o mod_mime.o mod_negotiation.o mod_include.o mod_dir.o mod_cgi.o mod_asi
s.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o m
od_browser.o mod_php3.o regex/libregex.a "-Lmodules/extra -L../modules/extra -lp
hp3 -lgdbm -lm -ldl -L/usr/local/lib/mysql -lmysqlclient"
mod_php3.o: In function `send_php3':
mod_php3.o(.text+0x71): undefined reference to `php3_ini'
mod_php3.o(.text+0x150): undefined reference to `apache_php3_module_main'
mod_php3.o: In function `php3_create_dir':
mod_php3.o(.text+0x1be): undefined reference to `php3_module_startup'
mod_php3.o(.text+0x1d0): undefined reference to `php3_ini_master'
mod_php3.o: In function `php3_exit_handler':
mod_php3.o(.text+0x3fc): undefined reference to `php3_module_shutdown'
mod_php3.o: In function `php3_init_handler':
mod_php3.o(.text+0x40b): undefined reference to `php3_module_shutdown'
mod_php3.o(.text+0x410): undefined reference to `php3_module_shutdown'
make: *** [httpd] Error 1

Is it me or is PHP failing to copy some needed files?

Thanks,
Albert


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-16 16:02 UTC] jim
It looks like you kept double-quotes around the EXTRA_LIBS definition in your
Apache Configuration file. Remove those and run Apache's Configure again.
 [2021-08-26 01:29 UTC] git@php.net
Automatic comment on behalf of sy-records
Revision: https://github.com/php/doc-zh/commit/1bd7189b1608fa5a035b70c32434120b0f4683eb
Log: Fix #73: array_fill() example has wrong parameter names
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 00:01:30 2024 UTC