$ MYSQL=/usr/local/mysql $ ./configure --with-mysql=$MYSQL Then PHP finds the following files in $MYSQL/lib: $ ls $MYSQL/lib libdbug.a libmygcc.a libmysqlclient.a libmystrings.a libmysys.a With the RPM files one finds: $ ls /usr/lib/mysql libdbug.a libmerge.a libmyisammrg.a libmysqlclient.la libmysys.a libheap.a libmyisam.a libmysqlclient.a libmystrings.a libnisam.a and the file libmygcc.a seems to be missing. It appears to me that it is impossible to specify the following when compiling PHP because configure will look in /usr/lib/mysql/lib which will not exist: ./configure --with-mysql=/usr/lib/mysql This is wrong but it is quite unfortunate that it is wrong because this makes the RPM installation virtually unusable with PHP. Perhaps the configure script in PHP should be patched (?). Other than that it is important to compile --with-zlib when using --with-mysql or the programs will compile fine but when starting apache you will get an error about uncompress. Also make sure that /usr/src/linux is a symbolic link to the kernel source tree or make will not find some .h files and compilation will not be possible. The easiest way to recompile PHP with MySQL support is probably to add --with-mysql=/usr/local/mysql to the php.spec file and run rpm -ba php.spec and then install the RPM files. Any feedback is welcome, Neil --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php