Re: Using MySQL with PHP

From: Date: Sat, 27 May 2006 10:02:09 +0000
Subject: Re: Using MySQL with PHP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-17442@lists.php.net to get a copy of this message
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


« previous php.install (#17442) next »