Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 50
PHP5 + Apache 2.x : /usr/local/modules/ 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 is located in /usr/local/modules/ and Apache has /usr/local as basedir. So I added the line "LoadModule php5_module modules/" to httpd.conf (along with "AddModule mod_php5.c" and the AddType lines).

I now have:
root@overkill# apachectl configtest
Syntax error on line 239 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/modules/ into server: /usr/local/modules/ 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
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
Old 10-07-2005, 08:31 PM   #3
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/ into server: /usr/local/apache/modules/ undefined symbol: apr_table_set


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

Original Poster
Rep: Reputation: 50
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
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
LQ Newbie
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Question permission denied while starting httpd

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

Rep: Reputation: 0
Pls try this

chcon -t texrel_shlib_t /usr/local/apache/modules/


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/' 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 PM.

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