Php Installation On Windows 10

Posted on by

By installing WAMP server on your windows you can run Apache, PHP, and MySql under a single package. Run sample PHP and MySql script.

In traditional web development environment to run PHP and MySQL on your machine, you need to install Apache, PHP and MySQL servers as a separate entity so that most of the time you’ll end up in seeing errors.

Installing PHP7 on Windows 10 and Verifying on CMDIn this video, we will install PHP7 and set an environment variable for it so that we can use it on command.

Rather than installing each server separately, how about installing a single package which contains all 3 servers? Yes, that is were WAMP comes into the picture.

WAMP is an open source web development package which in turn stands for Windows Apache MySql and PHP. WAMP is a package for the only windows environment, for any other platform like Linux, Apple OS you can use XAMP.

Advantages of using WAMP or XAMP

IIS only runs on Windows, but keep in mind that running PHP on IIS is not the same as running PHP on Windows. There are options to run PHP on Windows like XAMPP or WampServer. However, these two options make some additional choices for you. They run Apache as a web server and use MySQL or MariaDB as a database server. How to Install PHP 7.4.9 on Windows 10 November 27, 2020 August 6, 2020 by How to Guide This post will help you download and install PHP 7.4.x on your Windows 10, however, your Windows OS is 8/8.1 or 7; you should not have any issues downloading and installing PHP 7.4.x and verify latest version of PHP on your Windows OS. Installation PHP 8 on Windows. In the c:Serverbin create new PHP folder and copy there the contents of Again open the c:ServerbinApache24confhttpd.conf file and append it with lines.

  • No need to install Apache, PHP and MySql servers separately.
  • Easy to manage and configure all functionality under a single menu.

Installing WAMP for Windows 10 and 7

The whole process is automatic and WAMP will take care of all major steps for you. Let’s see where I can find WAMP and what changes are necessary during installation.

  • Download the latest version of wamp server from wamp server website.
  • Run the installer, after accepting their agreement you will prompt to WAMP server location usually c:/wamp/. keep it as it is and click on next for all subsequent windows.
  • You may ask for set your preferred browser and text-editor. leave default if you like else, change it.
  • Finally, it will ask you to run wamp server or not. Make sure run wamp checkbox checked and click on the button below to run wamp server.

If everything is going well, you see a green wamp icon running on your system tray.

Error: Usually after the application launch, wamp icon color changes from red to green state(wait for some seconds).Even after waiting if you see a color of wamp icon other than green like red or orange, then there may be some errors. Find wamp server possible errors at the end of this article.

Setup MySql database

  • Click on wamp server icon on your system tray and go to phpMyAdmin.
  • you get a browser window asking for username and password. Type root as username and don’t enter anything in the password field(by default phpMyAdmin comes with root as MySQL username), Click on the login button to log in. You may set the password after login, under general settings → change password. Set root as password if you like.

You are done with setting up MySQL database, Now it’s time to run some simple PHP programs.

Sample program to test

1. Simple Hello world! program.

  • Create test.php file inside c:/wamp/www/ folder.
  • Copy the below code, paste it there and save the file.
  • Now, open your web browser and type http://localhost/test.php you see the output as below.

2. Sample program to fetch data from database.

Here is the step by step procedure to create database and tables.

Adding database and tables into MySQL from phpMyAdmin.

Goto wamp icon → phpMyAdmin. From the left menu of phpMyAdmin page click on New button. Type the database name as “test” and click on create to create a new database.

After creating a database it will automatically prompt a window to create a table into it. Type table name as tbl_test, number of fields as 3 and click on create to create the table.

Further, it will ask for datatype and size. Enter data shown in below image and click on go.

Install Php 7.3 On Windows 10

Inserting values into the table.

With table selected in left menu click on insert button(tabbed menu on top) and enter the data as shown in below image. Click on go button to add your first row to the table.
You are done with adding data into the table. Now, will see how to fetch those data from PHP.

Fetching data from MySql using PHP

    • Create test_db.php file inside c:/wamp/www/ folder.
    • Copy the below code, paste it there and save the file.
  • Now, open your web browser and type http://localhost/test_db.php to run the program.

The below portion of the article is only for one who finds an error while installing WAMP.

Possible errors while installing WAMP

1. Missing VCRUNTIME140.dll error

This error can be solved by downloading a newer version of visual c++ redistribution from Microsoft. Below is the link for visual c++ 2015 redistribution package, download and install it(both 32bit and 64bit versions available and make sure you are downloaded the same version you are running in).

Uninstall WAMP and Reinstall.

2. Missing MSVCR110.dll error

Solved by installing visual c++ 2012 redistribution from Microsoft. Below is the link for visual c++ 2012 redistribution package, download and install it(both 32bit and 64bit versions available and make sure you are downloaded the same version you are running in).

Uninstall WAMP and Reinstall.

3. Port used by Microsoft IIS Server

This is the very common issue in Windows 10 and 7. Even after proper installation wamp icon does not turn to green. The reason is the port which is assigned to apache server is used by some other services on your PC(usually IIS Server).

Let’s check which service is using port 80. Go to wamp icon → Test the port 80.

If the port is used by IIS server here is the fix. Go to Services(Go to start menu of your windows
and start typing services to search for it), scroll to the bottom and find World Wide Web Publishing Services right click on it and disable.

Now exit your wamp from the tray by Right click and exit then run it again.

Related Posts:

If setting up XAMPP on Windows 10 is something which you are still unable to configure, then following the below-given steps would save you a lot of time and efforts. Once it’s installed, it will be a breeze to use it. In this blog post, I will show you how to install XAMPP on Windows 10 with ease.

It’s always a good practice to test your site on the local server before you actually publish it to the real server. And to create a local server environment on your windows machine, you can use XAMPP. XAMPP stands for X- cross-platform, A- Apache, M- MySQL, P- PHP, P- Perl. It is a completely free and open source solution that gives you an incredible local web server to work on. Installing XAMPP sets you free from learning and remembering commands to run Apache, MySQL, etc. It simply gives you a control panel to manage all the inclusive components.

Once you have XAMPP installed on your PC you can install any CMS, including but not limited to WordPress on your Local PC. Since we have already discussed how to move WordPress from localhost to live server so, you don’t have to worry about the later process after installing WordPress locally. Simply test your site thoroughly on XAMPP and make most of it.

Install Php 7.4 On Windows 10

How to Install XAMMP on Windows 10

So without ado, let’s get started with the step-by-step guide to how to install XAMPP on Windows 10. And I am very sure by the end of this post, you’ll be having your very own local WordPress testing environment on Windows 10.

Step 1: Download and Install XAMPP

To download and install XAMPP, go to apachefriends downloads page, the official link to download XAMPP from. You will see XAMPP ready to download for cross-platform like Windows, Linux, Mac OS X. Since we are discussing How to install XAMPP on Windows 10, therefore, we will choose the Windows option as shown below.

Step 2: Run the Installer to Install XAMPP

Php Installation On Windows 10
  1. XAMPP Setup Wizard

During the installation process, you may come across warning pop-ups. But you would probably click ‘Yes’ to start the installation process. Soon after you click on the downloaded file, the XAMPP setup wizard will open. Now click on the ‘Next’ Button to proceed.

  1. Select Components

Next, you need to check the components which you want to install and can uncheck or leave as it is which you don’t want to install. You can see there are a few options which are light grey in color. These are the options which are necessary to run the software and will automatically be installed. Now click on the ‘Next’ button to continue.

  1. Select Installation Folder

Now you need to choose the folder where you want to install the XAMPP. You can choose the default location or you can choose any location of your choice and choose the ‘Next’ button to move ahead.

  1. Bitnami for XAMPP

Now will see a window showing you information about Bitnami. Simply click on the ‘Next’ button to move further. However, if you wish to learn more about the Bitnami, then you may check the box saying ‘Learn more about Bitnami for XAMPP.’
Basically Bitnami is for installing open source applications i.e. WordPress, Joomla etc on your newly installed XAMPP.

  1. Ready to Install

Now you’ll see another window with a message “Setup is now ready to begin installing XAMPP on your computer” like shown below. You just have to hit the ‘Next’ button to proceed.

  1. Welcome to XAMPP Wizard

Now just be patient and wait for the installation to complete.

  1. Installation Complete

Once the installation is completed, you will be asked whether you would like to start the control panel now or not, displaying the message “Do you want to start the control panel now?” Check the box and click on the ‘Finish’ button and see if the XAMPP is working fine.

Step 3: Select your XAMPP Install Language

As soon as you will click on the Finish button in the final step of install XAMPP process, you will be asked to select the preferred language between English and German. It is up to you which language you choose. After that click on the ‘Save’ button to confirm your selected language. As of now, I am choosing the English language.

Step 4: XAMPP is now Installed, run it

Php Installation On Windows 10 Step By Step

If the entire process of XAMPP installation went correctly, then the control panel would open smoothly. Now click on the ‘Start’ button corresponding to Apache and MySQL.

That’s it. You have successfully installed XAMPP on Windows 10. Or say you have successfully installed XAMPP locally. Once you start the modules, you should see their status turn to green. Whereas, on the right side, you can see the process ID number and port numbers every module is using. You’re good to go now. Happy XAMPPing!!

Php For Windows 10

Wrapping Up
Now you know how easily you can install XAMPP to test and install your WordPress site locally before hitting the live server. Certainly, the biggest advantage of installing XAMPP is that you don’t have to worry about the number of attempts you make or the kind of experiments you perform on your site. You can freely try anything you want without any tension of losing your users. However, if you face any error while installing XAMPP on your Windows machine, then do let me know in the comments below. I will try my level best to resolve the errors. Nonetheless, creating a stunning new website piece of cake if you use TemplateToaster website builder. It is indeed, a dynamic website builder to give you an amazing website without any coding skills. So, try now!!

Hp deskjet 3050a driver windows 7 download. Find support and troubleshooting info including software, drivers, and manuals for your HP Deskjet 3050A e-All-in-One Printer series - J611. Download the latest drivers, firmware, and software for your HP Deskjet 3050A e-All-in-One Printer - J611g.This is HP’s official website that will help automatically detect and download the correct drivers free of cost for your HP Computing and Printing products for Windows and Mac operating system. DRIVER HP DESKJET 3050A ALL-IN-ONE J611 SERIES FOR WINDOWS 7 DOWNLOAD. Hp deskjet 3050a j611 series all-in-one printer. One printer series, print odd pages only. J611 full software solution. Hp deskjet toolbox. Deskjet basic drivers, driver product installation software, sales specialist business, paper quality layout. Driver epox ep-8k9a7i via raid for Windows 7 x64. If order over the internet is not for you. Hp deskjet 3050 all-in-one printer j610a driver and software for 64-bit/32-bit windows and for macintosh operating system. Select your model let hp find my products identify now. HP Deskjet 3050A Software is a printer driver for the HP Deskjet printer that is a piece of software that converts the data to be printed to the form specific to a printer. Download for Windows 32-64 bits and Mint. Pulsing Indicates the device is in sleep mode.