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, 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,, 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website is using cookies to improve the user-friendliness. You agree by using the website further.

Privacy policy