Description of problem: When starting httpd, PHP modules don't get loaded due to missing symbols, cf. /var/log/httpd/error_log: [...] PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: undefined symbol: executor_globals in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol: OnUpdateInt in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: OnUpdateInt in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol: OnUpdateBool in Unknown on line 0 [...] PHP scripts using these modules break (tested with php-pgsql). Version-Release number of selected component (if applicable): php-4.3.2-7 (httpd-2.40.47-{1,2,3}) How reproducible: Always Steps to Reproduce: 1. Install said php 2. (Re)Start httpd 3. run php script that uses one of these modules Actual results: Error message, PHP script can't access PostgreSQL database Expected results: No error message, PHP scripts can access PostgreSQL database Additional Info: php-4.3.2-6 works flawlessly in that regard.
Digging a little further, I noticed the total absence of .text and .bss dynamic symbols in /usr/lib/httpd/modules/libphp4.so of 4.3.2-7. Running "objdump -Tt /usr/lib/httpd/modules/libphp4.so | LANG=C egrep '\.text|\.bss'" on 4.3.2-6 gives a file with about 170KB while on 4.3.2-7 it's a mere 91 bytes: --- 8< --- 0001a640 l d .text 00000000 001f2180 l d .bss 00000000 --- >8 --- Sounds like strip running amok while building the RPM -- but I'm not fit enough in that area to confirm or let alone fix that.
Is this a clean Severn install? You see these error_log messages just from doing "service httpd start"?
Ignore me, you've answered that question already.
The problem still persists with php-4.3.3-1, httpd-2.0.47-5. /var/log/httpd/error_log: [...] PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: undefined symbol: file_globals in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol: OnUpdateInt in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: OnUpdateInt in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol: OnUpdateBool in Unknown on line 0 [...]
Its finally fixed in 4.3.3-2. *** This bug has been marked as a duplicate of 103690 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.