RE: Fatal Error: Class 'mysqli' not found in...

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

 



I discovered my problem by using phpinfo() and realizing that the
include_path and extension_dir did not equal what I had set in php.ini. Then
I got to digging.

I have always kept php.ini in C:\WINDOWS. I copied php.ini from windows to
the PHP installation path, restarted apache, and viola. Problem solved.

Thanks for all the help.

I do laugh at my calamity... thought I must cry too!

-----Original Message-----
From: John Comerford [mailto:johnc@xxxxxxxxxxxxxxxxxxxx] 
Sent: Monday, February 19, 2007 3:33 PM
To: Ralph E. Brickley
Cc: php-db@xxxxxxxxxxxxx
Subject: Re:  Fatal Error: Class 'mysqli' not found in...

Have you tried using phpinfo() to make sure it's seeing your php.ini file ?


Ralph E. Brickley wrote:
> Hello All,
>
>  
>
> I have been using Apache 2, PHP5 and MySQL 4 and 5 for a long time, and
> recently had to wipe my box due to a virus! 
>
>  
>
> Now that I have everything reinstalled, I can NOT get rid of this annoying
> MySQLi error. I have experienced this before but I can't seem to fix it
this
> time. I have all of the necessary ini file settings, such as 
>
>  
>
> #
>
> Extension=php_mysqli.dll
>
>  
>
> #
>
> Extension_dir = "C:\PHP5\ext\"
>
>  
>
>  
>
> I do not get any errors on start up from Apache, but in trying to access
> mysqli I get this fatal error. I have lib_mysqli.dll all over this
computer,
> Windows, System32, System, C:\PHP5, C:\PHP5\EXT\, everywhere. I'm stuck
and
> need help. I uninstalled MySQL 5 and put 4.1 back on and that didn't help
> either.
>
>  
>
> Any clues? Thanks!
>
>
> Ralph
>
> McMinnville
>
>  
>
>  
>
>  
>
>  
>
>
>   


-- 

1^st Floor, 184 -186 Glenferrie Road, Malvern VIC 3144

PH:    *(03) 9500 1466*
FX :    *(03) 9500 1469*
Email: johnc@xxxxxxxxxxxxxxx <mailto:johnc@xxxxxxxxxxxxxxx>
Web:  www.styleman.com.au <http://www.styleman.com.au>

The information in this e-mail is confidential and is intended solely 
for the addressee. Any views or opinions presented are solely those of 
the author and do not necessarily represent those of Option Systems Pty 
Ltd. If you are not the intended recipient, please delete this message 
and contact the sender.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux