You are here: Re: [PHP] php5-mysqli « PHP « IT news, forums, messages
Re: [PHP] php5-mysqli

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация