MySQL Forums
Forum List  »  PHP

Re: PHP extension=php_mysql.dll not loading;
Posted by: A S
Date: August 24, 2008 10:11AM

Chis Florinel Wrote:
-------------------------------------------------------
> 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...


thanks
I had this problem .
one libmysql.dll old version was in system32 folder
i deleted that afterward it work properly.

if libmysql.dll in php 5.2.6 exist in system32 folder php try to use that.
If any libmysql.dll is not in system32 folder php try to use libmysql.dll from php folder

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP extension=php_mysql.dll not loading;
A S
August 24, 2008 10:11AM
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.