|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > installing PHP as a DSO |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|