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:
  #1  
Old February 15th, 2002, 12:46 PM
dj-johny dj-johny is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 1 dj-johny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Apache/PHP config problems

After installing PHP4 and making the following changes to
http.conf:

Loadmodule php4_module libexec/libphp4.so
Addmodule mod_php4.c
Addtype application/c-httpd-php .php

I restart apache and get the following error message:

Cannot load /var/lib/apache/libexec/libphp4.so into server: File not found

The file is in the location it is supposed to be and I have tried the fix I found in many places on the net; which is editing the "/etc/ld.so.conf" file to include the directory where libphp4.so resides and then run "ldconfig". However, this does not do anything. When I start apache I get the same error..

Any thoughts on this problem would be greatly appreciated!

Reply With Quote
  #2  
Old February 15th, 2002, 12:52 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
>> Addtype application/c-httpd-php .php

There is no such thing as c-httpd-php

>> which is editing the "/etc/ld.so.conf" file to include the directory where libphp4.so resides

No, it's too late and you need to do it prior to running ./configure. See, the problem is when you install software to non-standard location. Anyhow you need to reinstall all over again.

Reply With Quote
  #3  
Old February 15th, 2002, 03:29 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
i think you get the same error message if the library depends on other libraries not installed.

do:
ldd /var/lib/apache/libexec/libphp4.so

it will tell you if all necessary libs are there.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Apache/PHP config problems


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 3 hosted by Hostway