LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 09-21-2004, 08:36 PM   #1
fukumdaryl
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora core 1
Posts: 18

Rep: Reputation: 0
libphp5.so


I just got done compiling and installing apache 2.0.51 and php 5.0.1. I tried to load the module for php in httpd.conf, but when it starts I get

Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp5.so into server: Cannot open "/usr/local/apache2/libexec/libphp5.so"

libphp5.so is nowhere on my system. I downloaded both from their respective sites. Any ideas?
 
Old 09-21-2004, 08:48 PM   #2
fukumdaryl
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora core 1
Posts: 18

Original Poster
Rep: Reputation: 0
update

same with libphp4.so- nowhere on my system
 
Old 09-22-2004, 12:42 PM   #3
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
same here...it is like it didn't compile or something..I am also looking for my lost libphp4.so
 
Old 10-31-2004, 02:54 PM   #4
Soulhunter
LQ Newbie
 
Registered: Oct 2004
Location: Aspen, CO
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
Same here only with Fedora Core 2
 
Old 03-21-2005, 06:34 PM   #5
berny8888
LQ Newbie
 
Registered: Feb 2004
Location: California
Distribution: Red Hat 9.0
Posts: 3

Rep: Reputation: 0
Red face Solution to this problem!!!

i searched high and low for some answer on why my by libphp5.so was not created. why? why? why!!!

finally after googling many other sites.. i found the answer at this forum:

http://www.experts-exchange.com/Web/..._20929077.html

basically, you have to install the latest snapshot of php 5.X some unknown bug that the stable release has... and it should solve your "why isn't libphp5.so being compiled?" woes.

it solved my woes...

further note:

after doing

make clean
make
make install

there's a message saying you have to:

libtool --finish <<path to php 5.xx >>/libs

then,

chmod 755 /usr/local/apache2/libexec/libphp5.so


i hope this solves everyone's headaches!!!



berny
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access `/usr/local/apache2/modules/libphp5.so' gravesb Linux - Software 13 12-02-2011 02:56 AM
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load libphp5.so jun_tuko Linux - Software 7 01-05-2008 11:12 PM
Cannot load /usr/lib/apache2/libphp5.so into server Kristijan Slackware 1 10-08-2005 12:28 AM
FreeBSD PHP5 ports error - libphp5.la is not a valid libtool archive BizHat.com *BSD 2 08-18-2005 10:27 AM
libphp5.so not created issey Linux - Newbie 1 04-01-2005 09:54 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration