On Fri, 3 Mar 2000, Paul Russell wrote:
On Tue, Feb 29, 2000 at 03:56:39AM +0000, Dr. Ashley T. Howes PhD wrote:
I copied this to etc/httpd/modules/ where the old modphp3.so module was. However there is now a problem when httpd (apache) starts up, it complains "can not link to shared library modphp3.a".
The modphp3.a file is a static library rather than a shared library. This means that apache cannot load the module at runtime, rather it must be statically linked at compile time. From what I remember, the installation documentation explains how to do that. Failing that, you may be able to build the PHP module as a shared library - check the options on the configure script (look for an option called '--enable-shared' or similar.)
Indeed. IIRC the INSTALL file within the PHP source tarball contains the installation routine for just such a configuration command-by-command. You really cannot miss it.
I believe the easier method is to use DSO (Dynamic Shared Object) compilation of Apache which to allow you to compile up PHP seperately, and then install directly to the apache lib directory - all that is then needed is an apache restart with the appropriate LoadModule(?) line in the httpd.conf. All very easy (easier than the above).
James.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]