4/8/2018»»Sunday

Apache Php Mysql Windows 7

4/8/2018
    63 - Comments
Apache Php Mysql Windows 7

Instructions on how to install MySQL on Windows 7: Part 3 following Apache and PHP installation on the new Windows 7 operating system.

Data Lifesaver License Key here. 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: • 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 manually on your Windows 10 PC.

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.

First, we have to decide as to which version of each application will be installed. • Apache 2.4 • MySQL 5.5 • PHP 5.6 Apache 2.4 Installation on Windows 10 Pro 64 bit: • First for downloading Apache 2.4, visit (httpd-2.4.16-win32.zip) Apache 2.4.16 VC11 This release of Apache is supported by PHP 5. Msi Package Builder Starter 4.4.5 on this page. 6 installation from windows.php.net for Apache 2.4. • Extract the zip and copy it to the root of C. This will be C:Apache24 when all is done. • Microsoft Visual C++ 2012 Runtime is required for running Apache in Windows Environment: Download and install Microsoft Visual C++ VS 2012 x86 from • After installation, you need to configure Apache: Open Apache configuration file in the text editor httpd.conf contained in the Apache folder C:Apache24Conf.

There are several lines you should change for your production environment: • Listen to all requests on port 80: Listen *:80 • Specify the server domain name: ServerName localhost:80 • Allow.htaccess overrides: AllowOverride All • Install Apache as a Windows service Open a command prompt, enter: cd Apache24/bin httpd -k install • Test your Apache web server Create an HTML file in Apache’s web page root (either htdocs or D:WebPages) with name index.html and add a little HTML code: testing Apache Apache is working! Run this file in browser: PHP 5.6.12 Installation: • First download php-5.6.12-Win32-VC11-x86 from • Extract and rename folder to php and move to C: drive. C:php • Configure your ini file: extension_dir = “C:phpext” [Set extension directory] You can enable other extensions as per your requirement like: Curl, GD, MySQL.

• Set environment variable for PHP: From the Control Panel ->System ->Advanced system settings->Advanced environment variables. Scroll down the system variables list and click on ‘Path’ followed by the ‘Edit’ button. Click new – Set path C: php – Click OK. After setting up environment variable, system reboot is required.