LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2003, 11:16 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
problem startting up apache --libphp4.so


Hello everybody,

I recompiled php twice but problem still remains.. it appears to be a common problem but the answers are somewhat all over the place..
mandrake 9.2 php 4.0.4 apache v2.
when i execute apache it displays the following msg:

[root@voyager /]# apachectl start
Re-creating /etc/httpd/extramodules
Starting httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: cannot open shared object file: No such file or directory
[FAILED]
httpd line 56 has the following line LoadModule php4_module modules/libphp4.so
and it keeps hanging on this line.

used the following to configure php:
./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql=/wwwroot/mysql

does anyone have a sure fix for this.. it would be greatly appreciated.
 
Old 11-22-2003, 03:25 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
apxs is pointing to the apxs of the apache you built?

actually looking a little closer at this... does anthing in the ./configure line point to a valid installation of the software it's trying to reference?
 
Old 11-22-2003, 08:02 AM   #3
hadding
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 40

Rep: Reputation: 15
Try this link http://www.devside.net/ it should answer your questions


_h
 
  


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
apache not loading libphp4.so johnball Fedora 4 10-16-2005 06:04 PM
PHP - Apache - libphp4.so TBomb Linux - Software 10 12-24-2004 04:33 PM
apache libphp4 problems slackwarefan Slackware 6 07-14-2004 03:37 PM
Can' t load libphp4.so into apache delfins Slackware 3 01-10-2003 10:49 AM
apache can't load libphp4.so rangga_k Linux - General 7 03-01-2001 03:52 AM


All times are GMT -5. The time now is 06:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration