Getting PHP5 to work with mySQL

Unfortunately PHP5 removed built-in support for mySQL. So you´ll need to copy some files by hand. open the folder you unzipped your PHP to. Copy the libmysql.dll file (should be located like C:\Server\php\libmysql.dll ) into your Window´s System folder (usually C:\Windows\System32\ although might be c:\WinNT\System\ or something).

Then open up your php.ini in a text editor and search for ;extension=php_mysql.dll and remove the ; in front of that line.

Do the same for ;extension=php_mbstring.dll. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
Restart Apache and see if you get any errors. If it complains about php_mysql.dll either your extention directory isn´t correct or windows can´t find libmysql.dll

If you don´t want to move files outside your php5 directory, you may also add the php5 directory to the PATH on Windows.

Now you are done.

Related posts:

  1. How to Do it – Install MySQL Database Server on Windows I am writing few simple steps to do it . just fallow them and you will handle it .Download the latest stable Windows version, which includes a Windows Installer, of...
  2. Do it – Install the PHP Engine on Windows PC Steps to Install the PHP Engine on your Windows PC. fallow the fallowing procedure for it. 1. Typical Setup. 2. On the next window, click the radio button “Advanced”, and...
  3. How to Play DOS games On Nokia N97 ? Don’t you like to play games on mobile, and if you have Nokia -N97 with you then it doubles magic of game. But what to do with procedure that every...
  4. How to Install the Apache Web Server on Windows ? It is my personal experience , That easiest way to Install the Apache Web Server on Windows have to fallow the procedure mentioned below. just fallow it and enjoy having...
  5. Is window 7 Is Better Than Window Vista? Microsoft’s Windows 7 is supposed to be the ‘fixed’ version of the misbegotten Vista, as it offers more security, features, fluidity and peace of mind to consumers. Many tore their...

Leave a Response

You must be logged in to post a comment.