Skip navigation links

MySQL Forums :: PHP :: PHP extension=php_mysql.dll not loading; cannot


Advanced Search

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
PHP extension=php_mysql.dll not loading; cannot Joe 07/31/2005 12:22PM
Re: PHP extension=php_mysql.dll not loading; Joe 07/31/2005 06:35PM
Re: PHP extension=php_mysql.dll not loading; codename_sos 08/23/2005 06:24AM
Re: PHP extension=php_mysql.dll not loading; Chis Florinel 08/23/2005 07:58AM
Re: PHP extension=php_mysql.dll not loading; A S 08/24/2008 10:11AM
Re: PHP extension=php_mysql.dll not loading; Andrius B 10/14/2005 06:45AM
Re: PHP extension=php_mysql.dll not loading; Adnan Siddqi 02/06/2006 05:00AM
Re: PHP extension=php_mysql.dll not loading; Marc B 02/26/2006 10:16AM
Re: PHP extension=php_mysql.dll not loading; cannot Enrique Garcia 09/06/2005 06:04PM
Re: PHP extension=php_mysql.dll not loading; cannot Justin Wood 09/23/2005 03:02PM
Re: PHP extension=php_mysql.dll not loading; cannot yyymin 12/30/2005 09:08AM
Solution to this would be... Thrust C. 09/13/2005 03:53AM
Re: Solution to this would be... Pedro Ruiz 10/06/2005 12:37PM
Re: Solution to this would be... Alex Peisachovitz 10/19/2007 01:01PM
Re: Solution to this would be... Jeremiah John 01/07/2008 11:06AM
Re: Solution to this would be... Pedro Ruiz 10/06/2005 12:59PM
Re: PHP extension=php_mysql.dll not loading; cannot Geoff 10/09/2005 05:49AM
Re: PHP extension=php_mysql.dll not loading; cannot cadex 11/21/2005 11:20PM
Re: PHP extension=php_mysql.dll not loading; cannot Mikael Rundqvist 11/24/2005 06:02PM
*** the SOLUTION *** Ace Balasador 11/26/2005 07:15AM
Re: *** the SOLUTION *** Hipster 12/25/2005 12:13PM
MSVCR71.dll was missing in my case. Then it worked Stoyan Vassilev 10/17/2007 11:40PM
Re: PHP extension=php_mysql.dll not loading; cannot Newbie2 lee 01/01/2006 12:19AM
having PHPIniDir made the difference orbii knowsit 03/05/2006 08:24AM
Re: PHP extension=php_mysql.dll not loading; cannot neil.abbott 05/06/2006 07:27AM
Update to Re: PHP extension=php_mysql.dll not loading; cannot neil.abbott 05/06/2006 07:49AM
Re: PHP extension=php_mysql.dll not loading; cannot Ed Birm 08/16/2007 11:00AM
Copy libmysql.dll to C:\Windows! Hyper Hacker 01/22/2008 01:43AM
Re: PHP extension=php_mysql.dll not loading; cannot Dale LeBarron 08/17/2008 07:37PM
Re: PHP extension=php_mysql.dll not loading; cannot Dale LeBarron 08/20/2008 02:50AM


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.