LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2006, 10:46 PM   #1
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
Apache 2, PHP5, MySQL 5: Undefined symbol: php_escape_html_entities,


I installed PHP 5, Apache 2, and MySQL on my Slackware 10.2 server, but ran into a few problems:

I configured Apache 2 with --enable-so.

I configured PHP with --with-apxs2=/xxx/apache2/bin/apxs --with-mysqli=/xxx/mysql/bin/mysql_config --with-mysql=/xxx/mysql/

When I run Apache I get the error
# /xxx/apache2/bin/apachectl start
httpd: Syntax error on line 232 of /xxx/apache2/conf/httpd.conf: Cannot load /xxx/apache2/modules/libphp5.so into server: /xxx/apache2/modules/libphp5.so: undefined symbol: php_escape_html_entities

I've tried every fix I could think of/find, any thoughts? Thanks in advance for your help!
 
Old 08-08-2006, 06:57 AM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Did you download fresh PHP source and try recompiling / reinstalling?
 
Old 08-08-2006, 09:58 PM   #3
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mdarby
Did you download fresh PHP source and try recompiling / reinstalling?
You know, as silly as it sounds, I didn't do that. Just recompiled from the source I had a few times trying different configure options. Just downloaded new source (tried the gz one this time), and just recompiled and reinstalled, and guess what? Worked first try. Thanks very much for the advice, I was hell bent on restoring the old install.
 
Old 08-18-2006, 07:27 PM   #4
Mike Popham
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
I compiled php, but then added another --with-something to configure. I then had the "undefined symbol: php_escape_html_entities" error after a 'make && make install'.

To fix the problem I had to:

make clean && make && make install
 
  


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 01:26 PM
Apache / FC4 undefined symbol error krazygaz Linux - Software 1 04-02-2006 05:53 PM
PHP+apache undefined symbol:unixd_config error Emist Linux - Newbie 13 03-15-2005 11:49 AM
Error when starting Apache undefined symbol: __db_ndbm_fetch_4002 SimonT Debian 2 10-03-2004 01:10 AM
Apache2 + opensll_0.9.7c undefined symbol X509_free when I try to start apache mdkelly069 Linux - Software 0 02-09-2004 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration