Hi,
MySQL support might be already available in your PHP. You can check that using phpinfo ( http://www.php.net/manual/en/function.phpinfo.php ). If you see MySQL section in the output of phpinfo() -  you already have MySQL support, if no - you have to recompile PHP with the following parameters to your configure script:

 --with-mysql[=DIR]      Include MySQL support. DIR is the MySQL base directory
  --with-mysql-sock[=DIR]   MySQL: Location of the MySQL unix socket pointer.
                            If unspecified, the default locations are searched

Donatas Vyzas

Blanton, Bob wrote:

Hi,

  If I want to use MySQL with PHP do I need to re-compile PHP or can I just adjust the php.ini file to use MySQL? 

 

Thanks in advance.

Bob


Reply via email to