Still doesn't work.
Here's part of my php.ini file:
extension_dir="C:\Program Files\PHP\ext"
;BTW there wasn't a ext directory. I had to create one and place the *.dll files there.
;But the extension_dir was.
extension=php_mysqli.dll
I then entered the following command at the DOS prompt:
C:\Documents and Settings\Owner>pear version
Here's the error message:
A windows error message box that said:
The procedure entry point mysql_slave_query could not be located dynamic link library LIBMYSQL.dll
then this error message at the DOS prompt:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\
ext\php_mysqli.dll' - The specified procedure could not be found.
in Unknown on line 0
PEAR Version: 1.7.2
PHP Version: 5.2.5
Zend Engine Version: 2.2.0
Running on: Windows NT YOUR-AT5QGAAC3Z 5.1 build 2600
I then renamed the libmysql.dll to -libmysql.dll thinking that would help. It didn't
I then modified part of my php.ini file like this:
;extension=php_mysqli.dll
extension=libmysql.dll
I got the following error message at the DOS prompt where I reentered the pear version command:
C:\Documents and Settings\Owner>pear version
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libmysql.d
ll' in Unknown on line 0
PEAR Version: 1.7.2
PHP Version: 5.2.5
Zend Engine Version: 2.2.0
Running on: Windows NT YOUR-AT5QGAAC3Z 5.1 build 2600
I then modified my php.ini file to:
extension=php_mysqli.dll
extension=libmysql.dll
I got similar error messages.
Have I downloaded the wrong *.dll files?
I've used MySQL from the command line with no problems. And I haven't had any problem learning PHP until started using MySQL with PHP.
I also tried using SQLite, which is supposed to be bundled with PHP 5 and above, but no luck either.
Maybe I've got a poorly installed PHP?