Tony Marston wrote:
You have to enable the mysql extension in your php.ini file. Seek out
the entry which says ';extension=php _mysqli.dll' and remove the leading
semi-colon.
Tony
First-off thanks for taking the time to help, I really appreciate it.
The extension you mention isn't in my php.ini file and I checked both
since I have a "php.ini" in the C:Windows and another called
"php.ini-recommended" in the PHP 5 folder.
They appear identical. Here is pasted the extension section of the
php.ini file located in C:windows:
<Pasted starts>
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
;
; If you wish to have an extension loaded automatically, use the
following
; syntax:
;
; extension=modul ename.extension
;
; For example, on Windows:
;
; extension=msql. dll
;
; ... or under UNIX:
;
; extension=msql. so
;
; Note that it should be the name of the module only; no directory
information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
;Windows Extensions
;Note that ODBC support is built in, so no dll is needed for it.
;
;extension=php_ bz2.dll
;extension=php_ cpdf.dll
;extension=php_ curl.dll
;extension=php_ dba.dll
;extension=php_ dbase.dll
;extension=php_ dbx.dll
;extension=php_ exif.dll
;extension=php_ fdf.dll
;extension=php_ filepro.dll
;extension=php_ gd2.dll
;extension=php_ gettext.dll
;extension=php_ iconv.dll
;extension=php_ ifx.dll
;extension=php_ iisfunc.dll
;extension=php_ imap.dll
;extension=php_ interbase.dll
;extension=php_ ldap.dll
;extension=php_ mbstring.dll
;extension=php_ mcrypt.dll
;extension=php_ mhash.dll
;extension=php_ mime_magic.dll
;extension=php_ ming.dll
;extension=php_ mssql.dll
;extension=php_ msql.dll
;extension=php_ mysql.dll
;extension=php_ oci8.dll
;extension=php_ openssl.dll
;extension=php_ oracle.dll
;extension=php_ pdf.dll
;extension=php_ pgsql.dll
;extension=php_ shmop.dll
;extension=php_ snmp.dll
;extension=php_ sockets.dll
;extension=php_ sybase_ct.dll
;extension=php_ tidy.dll
;extension=php_ w32api.dll
;extension=php_ xmlrpc.dll
;extension=php_ xsl.dll
;extension=php_ yaz.dll
;extension=php_ zip.dll
<Pasted ends>
I have tried several goofy things as sometimes it's like the lotto you
get lucky, but to no avail.
What I tried:
-I tried to change "extension=php_ mysql.dll" to
"extension=php_ mysqli.dll" with semi-colon removed, restarted apache
got error message saying unable to start dynamic library.
-Went into my PHP 5 folder and copied the "libmysqli. dll" file to
C:windows/system32, restarted apache got error message. Left the
"libmysqli. dll" in system 32 and added "extension=php_ mysqli.dll" to
php.ini, restarted apache, error message again.
I hope the kind help keeps on coming, I think I am close.
Thanks again
Patrick