php had dependencies on a couple of other libraries - libiconv libxml2 - so I had to compile these first. Problem was, the make install would try and overwrite /usr/local.
The fix was to set the prefix when running configure;
./configure --prefix=/export/home/richard/
Then set the LD_LIBRARY_PATH and when compiling php it knows to pick up the new library. Once everything is built, move into place at a suitable time.
And;
./configure --help
gives loads of interesting/useful options
No comments:
Post a Comment