On Wed, May 10, 2006 at 07:44:24AM -0700, Ariz Jacinto wrote:
> you dont have to recompile PHP, you only have to install the
> MySQL rpm on the distro that you're using.
> 
> one of the ways for you to determine if PHP is not linked w/
> the MySQL libraries is to execute the command,
> 
> shell> ldd <php binary/library>
> 
> 
> if MySQL is not listed on the output, then you may proceed
> with recompilation. download the necessary source codes
> of PHP, MySQL, etc., configure the Makefiles (ie.
> ./configure --with-mysql .... ) and then, compile.

If you built php from source, go back to the source directory, find the
mysql module directory, and just build a module.  The commands are, in
order, "phpize", "./configure", and "make install".

Additionally, you should then update your php.ini to load the new
module.

Michael
-- 
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to