httpd startup throws the PHP Warning "Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: executor_globals in Unknown on line 0 "

Solution Verified - Updated -

Issue

  • Starting  Apache in worker MPM, the following log is recorded in /var/log/httpd/error_log :

    # echo "HTTPD=/usr/sbin/httpd.worker" >> /etc/sysconfig/httpd
    # service httpd restart
    "PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: 
    undefined symbol: executor_globals in Unknown on line 0 "
    

Environment

  • Red Hat Enterprise Linux Server release 5.5

  • httpd-2.2.3-43.el5

  • php-5.1.6-27.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In