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=modulename.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