In article <Pine.LNX.4.21.0207120957190.1434- [EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > > Another PHP compilation question ... > > I've just compiled PHP 4.2.1 --with-mysql. I added no path to mysql, and > it worked fine as it always does. However, I'm keen to add mod_python as a > DSO to Apache as well, and noticed in PHP's INSTALL notes that I'll > probably need to recompile PHP with a path to mysql: > > --with-mysql=/somewhere/or/other/ > > 1. Is this always the case? > > 2. Where would the path be likely to be on RedHat 7.2 with MySQL rpms?
I'm not a Redhat user, but.... I think you will have to have installed a source rpm for mysql. You can probably check if you have the include files installed by doing locate mysql.h to give you the mysql include directory, possibly something like /var/mysql/include or /usr/local/mysql/include. Stripping the /include should give you the 'parent' directory under which both the include files and lib files can be found. Cheers -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php