|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
>> 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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
>> 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. |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Compiled php4 on RH7, no phplib4.so file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|