Deploy a PHP Application

  1. Install IIS through ‘Windows Features’ and make sure to select following options, and then IIS manager will be installed in your windows. — Dot Net Framework — Internet Information Services — CGI

Turn Windows features on or off

2. Once IIS manager Installation is completed then to verify it type localhost in your browser and press enter and it will show you IIS manager welcome screen.

3. Download and install PHP Manager and once finished then close IIS Manager and open it again then you can see PHP Manager option is available.

Internet Information Services (IIS) Manager

4. Download PHP Version

5. Extract the PHP version (Do not extract this version in “C” Drive).

6. Next select ‘Default Web Site’ from left panel and double click on PHP Manager then click on ‘Register new PHP version’ and here select ‘php-cgi.exe’ from extracted PHP version and click OK and then you can see PHP configuration details in PHP Manager.

Default Web Site → PHP Manager
Register new PHP version
PHP Manager

7. To verify this click on ‘check phpinfo()’ and click OK then PHP version details will be displayed.

phpinfo()

8. You can also place PHP file in the wwwroot location of ‘Default Web Site’ which is ‘C:\inetpub\wwwroot’ then type this URL in browser ‘http://localhost/filename.php'

index.php file


REFERENCES

Last updated

Was this helpful?