Install Mysql Module Php Windows

/
Active10 years, 11 months ago
  1. Install Mysql Module Php Windows Download
  2. Install Mysql Extension Php Windows
  3. Php Mysql Windows
  4. Install Mysql Module
  5. Install Mysql Module Php Windows 7
  6. Install Php Mysql Windows

Apr 04, 2016  So, in this tutorial, you’ll learn about how you can install Apache, PHP and MySQL server on your Windows 10 PC manually. As I’m currently using Windows 10 Pro 64-bit, so this tutorial is based upon it. I recommend that you read the whole tutorial first before following the instructions. 1)How to install Apache. 2)Setup PHP for Apache. 3)Install & Configure MySQL to use with PHP. 4)Setup XDebug for Debugging. Note:In this tutorial my Server Folder is located on F: Server. How to install Apache. 1)There are two ways to install apache either install the old version of apache httpd (Compatible with Windows XP) from httpd.apache.org/download.cgi or get the latest. So basically this is a rewrite of my previous guide but with a more proper method and beside you can find all the information you need on installing Apache, MySQL and PHP on a single page without going to another page unless you’re running Windows Vista / 7 of course.

I suggest you read the official PHP documentation about installing it on Windows systems. Download the latest PHP binaries from the official PHP for Windows download page, choose the thread-safe version that matches your Apache installation's bit-version (x86 for 32-Bit, x64 for 64-Bit). Install and Configure MySQL for PHP Applications on IIS 7. Install MySQL Server on Windows Server 2008 or Windows Server 2008 R2. For PHP to work with MySQL.

I've updated php.ini and moved php_mysql.dll as explained in steps 6 and 8 here.

I get this error…

MySQL doesn't show up in my phpinfo; report.

I've updated the c:Windowsphp.ini file from

to

Result: no change.

I changed the php.ini value of extension_dir thusly:

Result: much more in the phpinfo; report, but MySQL still isn't working.

I copied the file libmysql.dll from folder C:php to folders C:WindowsSystem32 and C:Windows

Install Mysql Module Php Windows Download

Result: no change.

Install Mysql Extension Php Windows

I stopped and restarted IIS.

Result: new, different errors instead!

I found several .php files in the website where I had to set variables:

Mysql

Result: The site works!

Community
Zack PetersonZack Peterson
31.9k76 gold badges196 silver badges278 bronze badges

4 Answers

As the others say these two values in php.ini are crucial.

I have the following in my php.ini: note the trailing slash - not sure if it is needed - but it does work.

Also it is worth ensuring that you only have one copy of php.ini on your machine - I've had problems with this where I've been editting a php.ini file which php isn't using and getting very frustrated until I realised.

Also if php is running as a module within apache you will need to restart the apache server to pickup the changes. Wise to do this in anycase if you're not sure.

a 'php -m' from the cmd prompt will show you the modules that are loaded from the ini file.

Richard HarrisonRichard Harrison
17.9k3 gold badges34 silver badges63 bronze badges

In the php.ini file, check if the extention path configuration is valid.

vIceBergvIceBerg
2,6045 gold badges34 silver badges51 bronze badges

You will need to enable the extension=php_mysql.dll option in the php.ini as well. Also, make sure that the file is in the extension_dir you set.

Learn how to write commands and invoke functions in the SQL Editor to select just the records you want. Finally, get comfortable inserting, updating, and deleting data with the SQL Server Management Studio (SSMS), a suite of graphical tools and rich editors that make working with databases much more intuitive. Hp data protector express keygen crack.

You can read more about it at:

Php Mysql Windows

Harrison FiskHarrison Fisk

Install Mysql Module

6,3803 gold badges20 silver badges14 bronze badges

On a completely different note, might I suggest WampServer? It should get you up and running with a Apache/PHP/MySQL install in no time.

You could even compare the WampServer config files with your own to see where you originally went wrong.

leekleek

Install Mysql Module Php Windows 7

7,3557 gold badges38 silver badges59 bronze badges

Install Php Mysql Windows

Not the answer you're looking for? Browse other questions tagged phpmysqlwindows or ask your own question.