> I am having some problems getting PHP working on my Redhat 6.1 box.  I had
> it installed awhile ago, via RPM but I removed it.  Well now I have some
> time again and I'd like to get learning PHP.  My problem is that it will
> not install.
>
> I have tried installing via RPM and after changing httpd.conf and
> restarting httpd I get an error and this is what is showing up in the
> logfile:
>
> Jul  7 15:56:42 monolith httpd: Cannot load /etc/httpd/modules/libphp3.so
> into server: libXpm.so.4: cannot open shared object file: No such file or
> directory
>
> The RPM installed without a problem and yet a get this error when
> restarting apache.  I have tried compiling it from source but I get
> another error when doing the make (something about missing files).


Hoo-boy.  The first thing you might want to check is whether or not libXpm.so.4,
or anything similar, exists on your hard drive and whether or not it's in the
right place...  I'm guessing that what you have is an RPM that forgot to check
for a required file while it was installing.  Possibly locating &
installing/updating the RPM that provides libXpm.so would be the best solution.

However, the best advice I can give you is to get the latest source releases of
Apache, PHP and maybe MySQL and mod_perl while you're at it, and do a clean
build of the whole works.  FWIW, the Apache & php compiles are among the
cleanest I've seen, and while this is time-consuming and perhaps a bit more
intimidating than an RPM install, the end result is much, much better.


---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org