LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-21-2006, 02:39 AM   #1
sohailark
LQ Newbie
 
Registered: Feb 2006
Posts: 10

Rep: Reputation: 0
apache, php, mysql installation issue


dear brother

i m using fc3 and want to configure apache. but when i restart apachectl it is giving me an error.


httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: php_escape_html_entities

can some one help me....
 
Old 10-21-2006, 02:46 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did you install the php5 apache module because it seems like apache can't find it? You would do something like,
Code:
$./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
 
Old 10-31-2006, 04:21 AM   #3
usg
LQ Newbie
 
Registered: Oct 2005
Location: Aachen, DE
Distribution: Mandriva 2009
Posts: 17

Rep: Reputation: 0
I ran into similar errors just now, trying to install PHP 5.1.6 on Apache 2. And no, the module is present (otherwise the error message would be different). I actually solved the issue by installing PHP 5.1.4 instead, so maybe it's a bug
 
Old 10-31-2006, 05:04 AM   #4
linux-india
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Smile if you r in hurry then i recommende you XAMPP

Dear

if you use Xampp then you dont need to do any more thing with system configuration.

just install xampp.tar.gz you will get
[1] Apache [2] php [3] mysql.

that is really very good thing and very easy to use.

Thanks.
With Regards,
Ashish Barot.

Last edited by linux-india; 11-03-2006 at 08:00 AM.
 
Old 11-05-2006, 10:21 AM   #5
mlsx
LQ Newbie
 
Registered: Oct 2006
Location: china
Distribution: RedFlag
Posts: 16

Rep: Reputation: 0
add --enable-so option

also use
./configure --disable-libxml --disable-xml --disable-xmlreader --disable-xmlwriter --disable-dom --disable-simplexml --without-pear --with-gd --with-zlib-dir --with-jpeg-dir --disable-cgi --with-apxs2=/usr/local/apache2/bin/apxs --enable-so
 
  


Reply



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
apache php and mysql installation tsaravan Linux - Networking 11 10-21-2006 03:11 AM
Integrating PHP and MySQL Into Apache From Full Installation tsuehpsyde Fedora 11 05-05-2004 02:15 PM
Apache PHP MySQL Setup after Slackware 9.0 Installation initself Slackware 37 12-20-2003 06:48 AM
Order of installation Apache, Mysql, PHP,SSH piratebiter Linux - Newbie 3 08-16-2003 02:13 PM
Installation Tutorial Apache 2, PHP 4, MySQL 3.23 freddymio Programming 2 07-03-2002 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:06 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