Re: PHP extension names
| From: | lallous | Date: | Thu, 25 Jul 2002 12:35:03 +0000 |
| Subject: | Re: PHP extension names | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109472@lists.php.net to get a copy of this message | ||
try:
function_exists('mysql_query') <- if TRUE then MySql is supported, etc...
"Peter" <peter@mapledesign.co.uk> wrote in message
news:1103_1027596662@news.php.net...
> Hi,
>
> I need to use extension_loaded() to try and detect which database
interface(s) are installed on some servers. Nowhere have I been able to
find a
> list of the internal extension names that is the string required as the
function argument. I know I can see those in my build of PHP using
>
> % php -m
>
> but that's not the complete list. Can someone help?
> Thanks,
> Peter