php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50774 libphp5.so: symbol sapi_module: referenced symbol not found
Submitted: 2010-01-16 00:35 UTC Modified: 2010-01-28 01:00 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (66.7%)
From: ivan at myhz dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.1 OS: solaris 10
Private report: No CVE-ID: None
 [2010-01-16 00:35 UTC] ivan at myhz dot com
Description:
------------
apache 2.2.14 
./configure  --prefix=/usr/local/apache2  --enable-so  --enable-modules=all 

php 5.3.1

./configure --prefix=/usr/local/php5  --with-config-file-path=/usr/local/apache2/conf  --enable-json --enable-mbstring=all --with-iconv --with-zlib --enable-zip --enable-sockets --enable-ftp --disable-ipv6 --enable-static --enable-maintainer-zts --enable-zend-multibyte --enable-inline-optimization --with-xmlrpc --with-libxml-dir=/usr/local/libxml2 --enable-soap --with-curl=/usr/local/curl7 --with-bz2 --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-apxs2=/usr/local/apache2/bin/apxs


after apache 2.2.14 make intall an php 5.3.1 make install, there is an error:

bash-3.00# httpd -k stop
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol sapi_module: referenced symbol not found





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-16 15:10 UTC] johannes@php.net
Why are you using --enable-maintainer-zts? as the name suggests it's meant to be used by PHP maintainers. Removing this might fix your issue.
 [2010-01-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2011-10-02 19:52 UTC] dbs at nessinc dot com
I had the same trouble. I cleared out /usr/local/php5 (I mean cleared completely out with "cd /usr/local;rm -rf php5), and redid the configure, make, and make install for php. Then it worked!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 15:01:28 2024 UTC