hello,
all of a sudden I was faced with a need to build an own copy of PHP as my ISP didn't support an extension I needed. Now I have (after some trial&error) been able to build PHP 4.1.2 on Linux which in the end needs access to a shared library.
What I haven't been able to find out is how to tell (at configure/make time?) where the .so resides.
I tested the installation by setting my LD_LIBRARY_PATH to where the .so is located and running the php from command line when logged in the Linux machine. (before setting the path PHP couldn't find my .so and died)
So, in standalone mode everything works, but when I try access the same .cgi (.php) file through the browser, i get an "Internal server error".
How can I tell the shared library location to PHP in a way that it works also with Apache?