LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-10-2005, 02:24 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
PHP5 + Apache 2.x : /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set"


I have a FreeBSD 5.4 box running Apache 2.0.54 with PHP 5.0.5 installed. The Apache webserver was running fine without problems. PHP was already installed so I started to configure it (moving and editing php.ini, adding lines to httpd.conf, etc).

The file libphp5.so is located in /usr/local/modules/libphp5.so and Apache has /usr/local as basedir. So I added the line "LoadModule php5_module modules/libphp5.so" to httpd.conf (along with "AddModule mod_php5.c" and the AddType lines).

I now have:
Code:
root@overkill# apachectl configtest
Syntax error on line 239 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/modules/libphp5.so into server: /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set"
I am stuck with this, a google search gave me only a few hits with some german sites which didn't help me much.

Last edited by Ephracis; 09-10-2005 at 02:32 PM.
 
Old 09-11-2005, 09:07 PM   #2
gravesb
Member
 
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87

Rep: Reputation: 15
Where did you put your php.ini? When I ran make install, it automatically updated my http.conf file to reflect the php installation, i.e., I didn't have to add the LoadModule line.
I am assuming you already looked here
http://www.php.net/manual/en/install.unix.apache2.php
 
Old 10-07-2005, 08:31 PM   #3
newmexican
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Hi Ephracis -

Did you find a solution for this problem? I'm having the same issue; Google has been of no help... Anyone?

Syntax error on line 232 of /etc/apache/httpd.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: apr_table_set

thanks,

Wade
 
Old 10-08-2005, 11:45 AM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
No, sorry. I could not fix that problem. What I did was that I just installed a older version of Apache, since I know that Apache 2.x has been giving me headache before with different modules.
 
Old 10-08-2005, 12:19 PM   #5
newmexican
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
1.3 it is then...

I'll give that a try. Thanks for the reply...
 
Old 02-19-2008, 03:27 AM   #6
siba
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Question phplib5.so permission denied while starting httpd

eroor 232 is coming
 
Old 10-01-2010, 12:26 PM   #7
jinojoseph
LQ Newbie
 
Registered: Aug 2010
Location: India
Posts: 1

Rep: Reputation: 0
Pls try this

chcon -t texrel_shlib_t /usr/local/apache/modules/libphp5.so
 
  


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
cannot access `/usr/local/apache2/modules/libphp5.so' gravesb Linux - Software 13 12-02-2011 02:56 AM
k3b won't start: "undefined symbol" error djzanni Mandriva 2 03-12-2005 10:49 AM
firefox and "undefined symbol:" deadkenny666 Linux - Newbie 0 02-14-2005 04:53 AM
"undefined symbol" when trying to compile c? SciYro Programming 6 11-25-2004 02:08 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM


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

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