MySQL Forums
Forum List  »  PHP

Re: PHP extension=php_mysql.dll not loading;
Posted by: Chis Florinel
Date: August 23, 2005 07:58AM

In your php.ini you need to uncoment the following line:
;extension=php_mysql.dll becomes:
extension=php_mysql.dll

save & restart apache (or your web server)
Also, you should make sure that extension_dir is set properly (in your php.ini file):

eg for Windows:
extension_dir = "C:/www/php5/ext/"

and if you still have problems, copy libmysql.dll to %windir%\system32 folder... (php_mysql.dll depends on libmysql.dll)

php_mysqli.dll is an extension used for mysql >=4.1 and has functions like prepare(), commit() and so on... for compatibility issues you can choose to use php_mysql...

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP extension=php_mysql.dll not loading;
August 23, 2005 07:58AM
September 13, 2005 03:53AM
October 06, 2005 12:37PM
October 06, 2005 12:59PM
November 26, 2005 07:15AM
December 25, 2005 12:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.