If you are planning to install Apache, PHP and MySQL on Windows 10 machine, then you can do so by choosing any of the two options given below:
![How to install mysql windows How to install mysql windows](/uploads/1/2/6/2/126233057/440777359.png)
- You can use any ready-to-use packages like: WampServer, XAMPP etc.
OR - You can make your own fully functional WAMP server (Manual Installation).
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.
Install and Configure MySQL for PHP Applications on IIS 7.; 5 minutes to read; In this article. By Ruslan Yakushev. While Microsoft® SQL Server® 2008 is the recommended database to use when hosting PHP applications on an Internet Information Services 7 (IIS 7) and above Web server, you can also use MySQL as the database.
- Oct 27, 2018 How to Install the MySQL Database Server on Your Windows PC - Installing MySQL Open the MySQL Server download page. Click the bottom Download option. Scroll down and click No thanks, just start my download. Double-click the setup file. Click Yes when prompted. Check the 'I.
- Sc delete MySQL. Go to Control Panel Programs Programs and Features, select MySQL Server 5.x and click Uninstall. (If you can uninstall MySQL from Control Panel) Open Windows Explorer and go to Organize Folder and search options, Select the “View” tab and under “Hidden files and Folders” choose “Show hidden files and folders”.
Sep 09, 2019 ■ Install required components (situational) Click the component(s) marked as Manual in the Status column, follow the suggested link, download and install the missing component. Depending on your purpose of installing MySQL on Windows 10, the installation process may be extremely simple or quite complex. Since the database program is for both server-side and client-side roles, and is also used by the developers, you must be precise while picking your options and configuring them during the installation.
First, we have to decide as to which version of each application will be installed.
- Apache 2.4.29
- MySQL 5.7.21
- PHP 7.2.3
You can download the required installer via links given below:
- Download Apache for Windows: https://www.apachelounge.com/download/
- Download PHP 7 for Windows (select ‘Thread Safe’): http://windows.php.net/qa/
- Download MySQL for Windows (select ZIP Archive): http://dev.mysql.com/downloads/mysql/
- Download the latest C++ Redistributable Visual Studio 2017: https://www.microsoft.com/en-in/download/details.aspx?id=48145
- Download Visual C++ Redistributable Packages for Visual Studio 2013: https://www.microsoft.com/en-US/download/details.aspx?id=40784
Managed WordPress Hosting
MySQL Installation on Windows 10 Pro 64 bit:
- Download MySQL installer and click on Run.
- Select License Agreement and then click on Next.
- Select Server Only and click on Next.
- It will ask you to install Visual Studio 2013 on your system.
- Click on the Execute button.
- Select License agreement and click on Install.
- Click on Close.
- Click on Next.
- Click on Execute.
- Click on Next.
- Click on Next.
- Put root user password. Confirm password and Click on Next.
- Click on Next.
- Click on Next.
- Click on Finish.
Your MySQL database server is now ready for use. You can use any MySQL client software for managing your database, like phpMyAdmin, Heidi SQL, SQL YOG etc.
Apache 2.4 Installation on Windows 10 Pro 64 bit:
- Install the latest C++ Redistributable Visual Studio 2017: https://www.microsoft.com/en-in/download/details.aspx?id=48145
- Download Apache files and unzip them (archive httpd-2.4.25-win64-VC14.zip) to the C:Apache24 directory:
- After unzipping, go to the folder c:Apache24conf and open the httpd.conf file by any text editor.
- Change below line in this file:
#ServerName www.example.com:80
ServerName localhost
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule rewrite_module modules/mod_rewrite.so
- Register Apache service:
If you see this page, it means that your Apache installation has been successfully done.
You can modify index page code or upload your files like example given below.
PHP Installation on Windows10:
- Download PHP package php-7.1.1RC1-Win32-VC14-x64.zip and unzip under C:php72
- Rename php-ini-development.ini to php.ini
- Add PHP in system environment variable.
C:>setx path “%PATH%, C:php72” /M
- Again, open the file c:Apache24confhttpd.conf and append it with lines:
PHPIniDir “C:/PHP72”
- AddHandler application/x-httpd-php .php
LoadModule php7_module “C:/PHP72/php7apache2_4.dll”
![Mysql Mysql](/uploads/1/2/6/2/126233057/441690726.jpg)
- Restart Apache services.
Now you can access your PHP page from default Apache document root. Here I have created on phpinfo.php page.
That’s it! You’re done ?
Managed WordPress Hosting
How To Install Mysql Centos
Planning to install Apache, PHP and MySQL? Choose VPS and pick any plan from https://www.znetlive.com/vps-hosting-windows/
Services ZNetLive offer:
If you have any doubt regarding this write-up or need to know more about the installation, drop comments below and get in touch.
Umesh Dubey
Umesh, Team Lead - Technical, is a Microsoft products’ expert with enviable certifications like RHCE, MCPS, MCSA and MCSE. An excellent team player, he utilizes his expertise of over 7 years in the technical sphere to handle technical issues brilliantly and dedicatedly value adds to the system administration and management fields. He can be seen drawing or playing chess in free time.
Latest posts by Umesh Dubey (see all)
- How to install Let’s Encrypt SSL certificate on IIS web server? - October 16, 2017
- How to run Hyper-V in a Virtual Machine with Nested Virtualization? - October 4, 2017
- Step by step tutorial on how to configure SMTP server in Windows server 2016 - October 24, 2016