Re: [PHP-INSTALL] help using php with msqli

[email protected] (Doug Tabacco)
Newsgroups php.install
Message-ID <[email protected]>
I think you may be loading the wrong module.  you want  
extension=mysqli.so not extension=msqli.so

On May 1, 2008, at 7:38 AM, Caroleigh Deneen wrote:

> Hi,
>
> I'm learning php and some of the sample code I'm working with  
> requires mysqli support.I'm getting a fatal error when I try to load  
> a page that uses the mysqli_connect() function:
> Fatal error: Call to undefined function mysqli_connect() in
>
> (You can see the error generated on this page: http://www.thriftytitle.com/dummies/mysql_up.php)
>
> I'm running php version 5.2.1 and MySql version 5.0.37, which the  
> documentation I've read said should supports the mysqli functions,  
> but I can't figure out what I need to change to get the page to load.
>
> Here's what I've checked so far:
>
> I checked my php.ini file. I tried adding this to the dynamic  
> extensions section:
> extension=msql.so
> extension-msqli.so
>
> The php.ini file already contains the [MySQLi] code related to  
> max_links, default_port, default_socket, default_host, etc.
>
> And my extensions_dir is set to what I think is the appropriate  
> extensions file on the server, though it is set with the ext  
> directory as part of the path, which may be unnecessary.
>
> The php.ini file I am editing is the one indicated as the  
> Configuration File Path when I run the phpinfo function.
>
> Can anyone help me figure out why the mysqli_connect() function  
> isn't working with the configuration described. Thanks in advance  
> for any help.
>
> Caroleigh Deneen
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.