php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9529 php4_module is garbled
Submitted: 2001-03-02 14:51 UTC Modified: 2001-03-04 15:42 UTC
From: mike at proactech dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.4pl1 OS: redhat 6.1
Private report: No CVE-ID: None
 [2001-03-02 14:51 UTC] mike at proactech dot com
After installing php-4.0.4pl1 tarball when starting Apache get the following....

Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so
is garbled - perhaps this is not an Apache module DSO?

Line 222 is LoadModule php4_module  libexec/libphp4.so

PHP was configured as follows...

./config --with-mysql=/usr \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-xml \
> --with-mycrypt \
> --with-gd \
> --enable-track-vars \
> --enable-magic-quotes

No errors reported during configure, make or make install.

Running ldd on libphp4.so gives...

        libpam.so.0 => /lib/libpam.so.0 (0x40121000)
        libdl.so.2 => /lib/libdl.so.2 (0x4012a000)
        libgd.so.1 => /usr/lib/libgd.so.1 (0x4012d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40163000)
        libm.so.6 => /lib/libm.so.6 (0x40172000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4018e000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401bb000)
        libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x401d2000)
        libc.so.6 => /lib/libc.so.6 (0x401e5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libz.so.1 => /usr/lib/libz.so.1 (0x402d8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x402e7000)
undefined symbol: ap_block_alarms       (./libphp4.so)
undefined symbol: ap_unblock_alarms     (./libphp4.so)
undefined symbol: ap_user_id    (./libphp4.so)
undefined symbol: ap_server_root        (./libphp4.so)
undefined symbol: ap_group_id   (./libphp4.so)
undefined symbol: ap_user_name  (./libphp4.so)
undefined symbol: top_module    (./libphp4.so)
undefined symbol: ap_max_requests_per_child     (./libphp4.so)
undefined symbol: ap_table_get  (./libphp4.so)
undefined symbol: ap_update_mtime       (./libphp4.so)
undefined symbol: ap_kill_timeout       (./libphp4.so)
undefined symbol: ap_uudecode   (./libphp4.so)
undefined symbol: ap_setup_client_block (./libphp4.so)
undefined symbol: ap_add_cgi_vars       (./libphp4.so)
undefined symbol: ap_getword    (./libphp4.so)
undefined symbol: ap_getword_nulls_nc   (./libphp4.so)
undefined symbol: ap_destroy_sub_req    (./libphp4.so)
undefined symbol: ap_pstrdup    (./libphp4.so)
undefined symbol: ap_log_error  (./libphp4.so)
undefined symbol: ap_table_add  (./libphp4.so)
undefined symbol: ap_sub_req_lookup_uri (./libphp4.so)
undefined symbol: ap_run_sub_req        (./libphp4.so)
undefined symbol: ap_register_cleanup   (./libphp4.so)
undefined symbol: ap_signal     (./libphp4.so)
undefined symbol: ap_send_http_header   (./libphp4.so)
undefined symbol: ap_block_alarms       (./libphp4.so)
undefined symbol: ap_set_etag   (./libphp4.so)
undefined symbol: ap_rwrite     (./libphp4.so)
undefined symbol: ap_table_set  (./libphp4.so)
undefined symbol: ap_get_client_block   (./libphp4.so)
undefined symbol: ap_add_version_component      (./libphp4.so)
undefined symbol: ap_hard_timeout       (./libphp4.so)
undefined symbol: ap_rflush     (./libphp4.so)
undefined symbol: ap_set_last_modified  (./libphp4.so)
undefined symbol: ap_reset_timeout      (./libphp4.so)
undefined symbol: ap_unblock_alarms     (./libphp4.so)
undefined symbol: ap_add_common_vars    (./libphp4.so)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-03 17:44 UTC] sniper@php.net
Was apache installed from RPM or compiled from sources?

--Jani

 [2001-03-03 19:37 UTC] sniper@php.net
Is apache linked with libpthreads.so?  ( ldd httpd ) 
If not,  edit the apache makefile:

apache_1.3.19/src/Makefile

and add -lpthread into LIBS1:

LIBS1= -lpthread -lm -lcrypt -ldl

and  in apache_1.3.19 direcotory:

# make install

--Jani

 [2001-03-04 15:42 UTC] sniper@php.net
Yet another glibc + pthread bug..solved.

--Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 20:01:27 2019 UTC