punxx0r Posted November 30, 2009 Share Posted November 30, 2009 Hey there gurus. I am running RHEL 5.4, with apache 2.2.3 (from an RPM), and PHP 5.3.1, compiled from source. I have successfully compiled PHP and built the module, created the php.ini, and updated my ld.so.conf.d/php.conf with its lib directory. Nevertheless, when I attempt to start apache, I get the following error: # apachectl -k start httpd: Syntax error on line 208 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: undefined symbol: OnUpdateString I have Googled for various parts of this error, with no success, and this makes me feel that I am missing something obvious, since no one else in the world has reported this issue anywhere. Here is my configure line: ./configure --with-apxs2 --with-curl --with-mhash --with-mcrypt --with-mysql --with-libdir=lib64 --with-mysqli=/usr/bin/mysql_config Any ideas anyone? Thanks, --punxx0r Quote Link to comment https://forums.phpfreaks.com/topic/183473-please-help-apache-refuses-to-load-libphp5so/ Share on other sites More sharing options...
punxx0r Posted December 1, 2009 Author Share Posted December 1, 2009 Turns out that this behavior has something to do with using the same source to do multiple builds. Looks like make clean just wasn't making quite as clean as it should do. Solved. Quote Link to comment https://forums.phpfreaks.com/topic/183473-please-help-apache-refuses-to-load-libphp5so/#findComment-969305 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.