Re: php5-mysqli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/05, NSK <nsk3@xxxxxxxxxxxxx> wrote:
> how can I ensure that php5-mysqli is correctly loaded?

if( !in_array( 'mysqli', get_loaded_extensions() ) )
{
    if( !dl( 'mysqli.so' ) )
    {
        echo "mysqli.so extension is not loaded";
    }
}

> the server is SuSE9.3
> and I have installed the package from yast, but one app (phpmyadmin) says it
> cannot find the mysql extension (although other apps can query the db).

In config.inc.php you might check that you have correctly specified
either mysql or mysqli in the $cfg['Servers'][$i]['extension']
setting.

> which config files are responsible for loading mysqli in apache/php5 ?

The mysqli support in my PHP is built in using --with-mysqli during
the configure.  You can also load the extension in the php.ini or with
the dl() function.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux