Web Hosting Talk







View Full Version : Php 4.1.2 Install Problem


about2flip
03-24-2002, 08:11 PM
Hello:

I am trying to install PHP 4.1.2 on a RaQ 3i, and it is pure hell. Does anyone know what the following error is caused by? I looked in the usr/lib/apache/libphp4.so directory, and the file 'libphp4.so' is not in this directory.

Shutting down Web Service: httpd
Setting up Web Service: Syntax error on line 33 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so:
cannot open shared object file: No such file or directory
/usr/sbin/httpd

I hope someone out there has experienced this same problem.

Thanks for your help in advance.

roly
03-25-2002, 02:46 AM
Does /usr/lib/apache/libphp4.so exist:rolleyes:

about2flip
03-25-2002, 07:03 AM
No. which is the weird thing about it. I can't locate the 'libphp4.so' file or I would just put it in myself.

when I downloaded php4.1.2 I extracted it into the tmp directory on the RaQ and did a tar. Now after configuring it, make, make install and restarted it, that's when I got the above error.

I'm going by instructions that are located here:
http://www.directphp.com/htmltonuke.php?filnavn=pages/InstallphpRaq3.html

On the instructions down to #Extra Modules there are LoadModule's; the last LoadModule is the statement where 'libphp4.so' should be located, but it is not.

If someone has better step-by-step instructions please post them or help me out here. Someone already emailed me about installing it for me at a very cheap price, but I can't learn by having someone else install it for me.

Thanks in advance for your help, and advice.

roly
03-28-2002, 03:25 AM
whats ya ./configure command?

NoComment
04-02-2002, 12:18 AM
You definetely do have libphp.so (or libphp4.so) someplace else. If you still have the source directory, you will also find a copy there. Actually go there and type 'make install' again.. Check the output to see where it's putting the php4 so file.

I've had this many times before.. it's putting libphp4.so to somewhere you don't expect it to.. I believe it's something like /usr/local/libexec/apache or something.

NoComment