Fatal Error: Class "mysqli" not found in...
Fatal Error: Class "mysqli" not found in...
am 19.02.2007 19:57:51 von Ralph Brickley
------=_NextPart_000_0004_01C75414.CD0BCC10
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0004_01C75414.CD0BCC10--
RE: Fatal Error: Class "mysqli" not found in...
am 19.02.2007 21:19:10 von Dwight Altman
So we are talking about MS Windows?
I was shocked to see Linux antivirus offerings, so you had me concerned for
a moment.
I can only laugh at your calamity.
Okay, I can offer something else. How about providing the list with the
"not found in..." part? Perhaps put it where it is looking for it?
Regards,
Dwight
> -----Original Message-----
> From: Ralph E. Brickley [mailto:ralphbrickley@verizon.net]
> Sent: Monday, February 19, 2007 12:58 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Fatal Error: Class 'mysqli' not found in...
>
> 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
>
>
>
>
>
>
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Fatal Error: Class "mysqli" not found in...
am 20.02.2007 00:33:08 von John Comerford
--------------070404080701040802080200
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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@styleman.com.au
Web: 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.
--------------070404080701040802080200--
RE: Fatal Error: Class "mysqli" not found in...
am 20.02.2007 00:50:28 von Ralph Brickley
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@optionsystems.com.au]
Sent: Monday, February 19, 2007 3:33 PM
To: Ralph E. Brickley
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] 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@styleman.com.au
Web: 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