| 
 Posted by Greg Donald on 05/01/05 20:50 
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/
 
  
Navigation:
[Reply to this message] 
 |