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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 12th, 2001, 09:21 AM
rsal rsal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Winnipeg, Canada
Posts: 10 rsal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry installing PHP as a DSO

I am getting an error after compiling apache and php as a DSO. When I go to start the server, I get the following error:

Syntax error on line 205 of /var/lib/apache/conf/httpd.conf:
Canot load /var/lib/apache/libexec/libphp4/so into server:
libmysqlclient.so.10: cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started

Both programs compiled with no errors. line 205 in the httpd conf file is as follows:

LoadModule php4_module libexec/libphp4.so


Does anyone have any ideas?

Thanks,
Rick

Reply With Quote
  #2  
Old July 12th, 2001, 11:53 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
This is the most seen errors and most asked question by far when building PHP with mysql support.

Do a search in all forums or just Apache and PHP and use the keyword libmysqlclient.so.

>> Does anyone have any ideas?

Because mysql was installed to a non-standard place (setting PREFIX as /usr/local is the standard) and therefore PHP was unable to located it.

Also take a look at this -> http://forums.devshed.com/showthrea...0786&forumid=15 and see why installing mysql to /usr/local/mysql is bad.

Reply With Quote
  #3  
Old July 12th, 2001, 03:53 PM
rsal rsal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Winnipeg, Canada
Posts: 10 rsal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks,

That information was very helpful. I has no idea about the locations where you should install programs. Every tutorial I have seen, always shows installing to /usr/local/mysql or apache. Thanks for the info.
I actually got it working. I had to add add the path of the libmysqlclient.so.10 to ls.so.1. That seemed to do the trick.

Thanks for all your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > installing PHP as a DSO


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