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:

1. Download the PHP 7 directly from the URL

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

PHP Manual Install

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

Rename PHP

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

IIS Change PHP Version

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

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

PHP Info

Was this answer helpful?

« Back