Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 4th, 2001, 05:43 PM
mstembri mstembri is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Norcross, GA
Posts: 458 mstembri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Unhappy

httpd fails on boot.

"cannot load /etc/httpd/modeles/libphp4.so into server: ... libphp4.so: cannot open shared object file: no such file or directory"

I've been working on this linux machine all weekend. I've tried installing php from rpms, and now I've tried via source. I've gone step by step by on-line guides to installing php (actually looked at a few different ones to make sure the process was accurately documented).

This last attempt i removed php and mysql. I don't understand. THere were no errors when I compiled. I did Make and Make Install --- no errors. But no phplib4.so file exists on this box. Why?


__________________
- Mike Stembridge
http://www.georgiaoffroad.com

Reply With Quote
  #2  
Old March 5th, 2001, 04:58 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> cannot load /etc/httpd/modeles/libphp4.so into server:

Perhaps you misspelled modules as modeles?

Try the following:
1) Check httpd.conf and find ServerRoot, if it says /etc/httpd, then
2) Check the line LoadModule php4_module modules/libphp4.so

This assumes libphp4.so really reside at /etc/httpd/modules/ and the "no such file or directory" should go away and Apache should be able to open and read it. Whether or not Apache likes to load it is another question.

Reply With Quote
  #3  
Old March 5th, 2001, 07:01 AM
mstembri mstembri is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Norcross, GA
Posts: 458 mstembri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
The mispelling was on my part when I posted here last night. I realize the proper spelling and have been using it in my work with this problem.

ServerRoot is etc/httpd

The loadmodule line is also listed properly. So far as I can tell, libphp4.so simply does not exist. If it did I think I'd be in business right now.

I will run updatedb and look for the file again. It may be on the system somewhere. I haven't updated the locate database since installing php4.


Reply With Quote
  #4  
Old March 5th, 2001, 02:08 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> If it did I think I'd be in business right now

Maybe not. 95% of the time people got libphp4.so in the right place but Apache just doesn't like to load it.

If you can tell us the configure options, we should be able to tell you where it resides.

Reply With Quote
  #5  
Old April 23rd, 2001, 04:46 AM
chronoton chronoton is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Kenju
Posts: 26 chronoton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
libphp4.a

Hmmm

Try this one ->

1. Build PHP ( configure may variate )

./configure --with-apache=/usr/local/src/lamp/apache_1.3.14 \
--with-mysql=/usr/local/mysql/current \
--with-zlib \
--with-ftp \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--with-config-file-path=/etc
make
make install

after that :

Build apache hardly

./configure --prefix=/usr/local/apache/1.3.14 \
--datadir=/var/www \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4
make


PHP is doing much more performant in that way

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Compiled php4 on RH7, no phplib4.so file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway