How to install PHP 7 on windows server Manually?

It is required to install the PHP on your windows web server to run the PHP Website.

Before we install PHP 7, we will install Visual C++ Redistributable for Visual Studio 2015 from this URL: https://www.microsoft.com/en-us/download/details.aspx?id=48145

  1. Download the PHP 7 directly from the URL https://windows.php.net/download/

  2. Extract the PHP files to the path C:\Program Files\php. If you don't have PHP folder inside Programme Files, you can create it manually.



  3. Rename the file php.ini-production to the php.ini.



  4. Go to IIS >> PHP Manager and select Change PHP Version to 7.



  5. Add a phpinfo page to the Document root of your website.



  6. Browser the same page and it should show php7.



  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to enable MS SQL server access in php?

The Microsoft Drivers for PHP are the PHP extensions that allows for reading and writing of SQL...

Random Service Crash in Windows VPS

It’s quite often when we face problems of Random Service Crash in Windows VPS. You may come...

How to Check Logs for Windows Server/VPS Reboot?

At Windows event viewer, you can examine server logs for all events. To check server reboot logs...

How to Setup Remote Desktop Service License in Windows Server in 2012 and 2016 OS?

You can connect the Windows server using RDP with 2 users at the same time. We required Remote...

How to Setup Web Deploy in Windows Server?

To deploy your ASP.NET and PHP applications to an IIS web server, web deploy is the best tool...