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 06-04-2003, 08:40 AM   #1
jolu2000
Newbie
 
Registered: Jul 2002
Location: killa cali
Distribution: slackware 10, fedora core 2
Posts: 14

Rep: Reputation: 0
Question Apache-PHP question


Hello!

I installed Apache 2.0.46 with PHP 4.3.1 and all went fine until I tried to start Apache by typing:

"/etc/rc5.d/S85httpd start"

I got the following error:

"Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so: cannot open shared object file: No such file or directory"

Does anyone know a fix to this? I heard from somewhere that this was a bug and that there is some type of fix for it. Any help is appreciated.
 
Old 06-04-2003, 11:47 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
are you sure the libphp4.so exists in /www/modules/ directory?
do you have libphp4.so in any directory?
 
Old 06-04-2003, 12:54 PM   #3
jolu2000
Newbie
 
Registered: Jul 2002
Location: killa cali
Distribution: slackware 10, fedora core 2
Posts: 14

Original Poster
Rep: Reputation: 0
I did a search on the comp and in the /www/modules directory but no luck with file libphp4.so. hmmm...
 
Old 06-04-2003, 03:57 PM   #4
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
As a quick test - /path/to/httpd -l will return the modules that have been compiled into apache.

You need to tell php to build the required libraries and to have apache include this into the build. A more detailed explanantion can be found if you click through the Links section here at LQ you can drill down into the Networking section and select the LAMPS link. There's some good information about how to build Apache+php.
 
  


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/PHP Question Bobscrachy Linux - Software 5 12-12-2005 01:47 AM
Quick Apache + PHP question locke105 Slackware 2 08-02-2005 07:19 PM
another apache question (maybe PHP) zchoyt Linux - Software 2 05-20-2005 01:46 PM
question about APACHE and PHP fritz001 Slackware 2 05-15-2005 11:40 AM
PHP and Apache -- Config question j0217995 Slackware 4 11-05-2004 10:09 AM


All times are GMT -5. The time now is 08:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration