PHP MySQL

How To Install PHP MySQL In Windows 10

(Last Updated On: September 17, 2017)

How To Install PHP MySQL In Windows 10

How To Install PHP MySQL In Windows 10, So let’s go to your search engine. Type the URL, Windows.php.net/downloadphp, download the current version of PHP. Download the zip file. Also in this case after downloading access the download folder open the zip file and create a folder inside your C Drive called PHP. Inside folder extract all downloaded files of PHP.running and it’s working now we have to edit a little bit some PHP settings.

Edit PHP

Now you have to edit a little bit, some PHP settings to in order to tell Apache which PHP settings we want to add. Let’s access our folder structure, let’s go in our PC folder C Drive, our PHP folder and let’s scroll down. Let’s search for a file called php.ini’ – development. We can rename this file by removing development – so it’s going to be php.ini’. We’re going to prompt with a rename confirmation, Let’s click yes. Let’s open this file, and we have to uncomment a bunch of sections.

So first let’s search for extension – here and we have to uncomment the extension dere equal x. So we can uncomment it by removing the semicolon at the beginning. The other thing we have to uncomment, we have to comment MySQL models. So let’s search again for php_mysql.dll and here we can uncomment this extension. and we can uncomment the MySQL dll. That is another extension of MySQL, that most likely we’re gonna use with PHP save the changes.

Final Step

Let’s go back in our comment line, and let’s go back to the root folder. By typing CD and double dot to go back one folder and when we are in our Cu root let’s type CD PHP to access the PHP folder. Now here we can type PHP – M to see all the list of modules there are B are being loaded, So everything is working properly for now after we did all of these. I suggest you restart your machine. Be sure that Apache automatically starts at the beginning, and everything set it up properly.

After this you can open your browser and type in a URL bar localhost, we have the confirmation that our server it’s working because it’s loading the localhost, and is showing all the files that we have in the index of our localhost. Where this folder is.? So to access this folder, we can open our folder inspector inside a PC folder, see where the operating system is Apache 24 htdocs. Anyway, we can find the index.html 5. So this is the folder the directory where Apache is accessing. While we type localhost in the URL just to check if PHP it’s working it’s properly configured.

Comment below if you did not understand anything. Thank you.

admin

Share
Published by
admin

Recent Posts

How to Create Your Own Cryptocurrency | Step-by-Step Guide

How to Create Your Own Cryptocurrency Step By Step  What is Cryptocurrency? Cryptocurrency is basically…

3 years ago

Diwali Web Hosting Offer Up to 80% Discount 2021

Web Hosting Diwali Offer HostKarle Coupon Code 2021   Hostkarle provides cheap web hosting services…

3 years ago

How to fix file type is not permitted Unexpected response from the server WordPress Error

Some files not permitted by wordpress to upload When we upload that files wordpress showing…

4 years ago

How to Enable or Setup Cron Jobs in cPanel Step By Step

In this tutorial, you will learn how to set up or enable Cron jobs in…

4 years ago

Hostkarle Promo Code, Hostkarle Coupon Code May 2020

  Hostkarle provides cheap web hosting service in India also have rated no.1 web hosting…

4 years ago

How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]

Best Trick To Secure Wordpress Site From Hackers   You can try our trick to…

4 years ago

This website uses cookies.