--- Richard Kurth [EMAIL PROTECTED] wrote:
Hello ,
How can I compile PHP so that it does not mater
what version of
mysql is installed.
If I compile it for mysql 3.X and then upgrade
mysql to ver 4
PHP will not install.
I get error while loading shared libraries:
libmysqlclient.so.12: cannot open shared object file
this is how I am compiling php It is being
compiled into Apache not
as a DSO
./configure --prefix=/usr/php --with-mysql=/usr/
--with-config-file-path=/usr/conf
--with-exec-dir=/usr/apache/bin --disable-debug
--enable-safe-mode
--enable-magic-quotes --enable-debugger
--enable-track-vars --with-ftp --enable-sockets
--enable-ftp --with-apache=../apache
make
make install
I don't have a Linux box where I can test out my
suggestion to you, but here is what you can try:
1. from your php directory: rm config.cache
2. after that command, run: make clean
That should take care of the previous PHP
installation.
Now try running your ./configure, make, and make
install as you have listed above.
By the way, your --with-mysql=/usr/ does not look
like a complete path to your MySQL installation. Of
course, I cannot say for sure... you know better than
I do where it is installed and what the directory is
called.
=
~Rachel
__
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php