Re: [PHP4BETA] MySQL Basic Test
| From: | David Robley | Date: | Wed, 19 Apr 2000 00:25:20 +0000 |
| Subject: | Re: [PHP4BETA] MySQL Basic Test | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13705@lists.php.net to get a copy of this message | ||
On 19 Apr, Bradley wrote:
> Hi all,
>
> Is there a way to quickly test whether or not PHP is configured to use
> MySQL? Is there something to look for in the output from phpinfo()
> that will quickly tell whether or not it's working? I'm trying to help
> someone troubleshoot post-install problems and it would be nice to
> make sure that PHP was properly configured to use MySQL.
>
> Thanks in advance,
>
> Bradley
Certainly is - you should get something like this (but formatted a bit
nicer!)
MySQL
Allow
persistent
links:
Yes
Persistent
links:
0/Unlimited
Total links:
0/Unlimited
Client API
version:
3.21.33
Compilation
definitions:
MYSQL_INCLUDE=@MYSQL_INCLUDE@
MYSQL_LFLAGS=@MYSQL_LFLAGS@
MYSQL_LIBS=@MYSQL_LIBS@
Mail me for a link to see a phpinfo() output with mysql enabled.
And of course you'll get an error message if you try to call a mysql
function when support is not enabled.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA