LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-30-2007, 12:41 PM   #1
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 228
Blog Entries: 1

Rep: Reputation: 34
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 + Apache 2.x : /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set" Ephracis Linux - Software 6 10-01-2010 12:26 PM
Error with PHP4.4.4: "undefined symbol" in libphp4.so mrzack Linux - Server 4 12-23-2006 09:31 AM
I need help on this PHP error -- "Call to undefined function: mysql_connect()" yzh999 Linux - Software 1 08-12-2006 03:14 AM
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 11:57 AM
k3b won't start: "undefined symbol" error djzanni Mandriva 2 03-12-2005 10:49 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration