Re: php5-mysqli

From: Date: Sun, 01 May 2005 17:50:39 +0000
Subject: Re: php5-mysqli
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214290@lists.php.net to get a copy of this message
On 5/1/05, NSK <nsk3@wikinerds.org> 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/

« previous php.general (#214290) next »