LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   plesk + php 4.3.2 upgrade error - "undefined symbol: ap_signal" (http://www.linuxquestions.org/questions/linux-server-73/plesk-php-4-3-2-upgrade-error-undefined-symbol-ap_signal-595841/)

p_s_shah 10-30-2007 12:41 PM

plesk + php 4.3.2 upgrade error - "undefined symbol: ap_signal"
 
Hello all,

My current Configuration :
Redhat 9
Plesk 7.5.2
Apache 2.0
php 4.3.2
mysql 3.23.58


Due to absence of some functionality, I need to upgrade php4.3.2 to php 4.4.7.

1. Downloaded php-4.4.7.tar.gz from php.net.
2. ./configure --with-apxs=/usr/local/psa/admin/bin/apxs --with-mysql
3. make
4. make install
5. Overwrite following files :
/usr/bin/php
/etc/httpd/modules/libphp4.so


Questions :
1. While starting Apache I am getting following error :
undefined symbol: ap_signal
And Apache is not able to start.

2. My Apache version is 2.0. But while running configure script with --with-apxs2=/usr/local/psa/admin/bin/apxs, it gives error that my apache version is 1.3 so please complile using --with-apxs.
Why My APXS binary is giving wrong apache version ?


Notes :

1. I have checked path of loadble httpd modules.
2. httpd -v shows apache version 2
3. php -v shows php version 4.4.7 after overwriting files
4. Please remember I am using plesk.
5. Output of ldd
[root@u15166250 php-4.4.7]# ldd -r /usr/local/psa/admin/libexec/libphp4.so
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40180000)
libz.so.1 => /usr/lib/libz.so.1 (0x401ae000)
libresolv.so.2 => /lib/libresolv.so.2 (0x401bc000)
libm.so.6 => /lib/i686/libm.so.6 (0x401ce000)
libdl.so.2 => /lib/libdl.so.2 (0x401f0000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401f4000)
libc.so.6 => /lib/i686/libc.so.6 (0x40209000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: ap_rwrite (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_rflush (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_should_client_block (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_signal (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_hard_timeout (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_get_client_block (/usr/local/psa/admin/libexec/libphp4.so)
undefined symbol: ap_reset_timeout (/usr/local/psa/admin/libexec/libphp4.so)
...

and lot more undefined symbols.

Please help me to resolve the issue.
Thanks in advance.


All times are GMT -5. The time now is 05:24 AM.