Introduction:
In this article I will explain how to run php files in IIS Server.
Description:
Before run php files in to IIS Server we need to configure/install the PHP Manager in windows Platform.
Step 1:
Install the Php Manager by using Microsoft Web Platform Installer . Click on Install Now, then automatically open a window then hit the Install. it will be installed.
Step 2:
Configure the PHP Manager in IIS. Open the IIS Server in your local system and Configure the Settings.
Use it to:
- Register PHP with IIS;
- Validate and properly configure existing PHP installations;
- Run multiple PHP versions side by side on the same server and even within the same web site;
- Check PHP runtime configuration and environment (output of phpinfo() function)
- Configure various PHP settings
- Enable or disable PHP extensions
- Remotely manage PHP configuration in php.ini file
PHP Manager - configuration recommendations:
Step 3:
Open your C:\inetpub\wwwroot and create phpinfo.php file and write the below code and save it.
<?php phpinfo(); ?>
Step 4:
Open your browser and enter the http://localhost/phpinfo.php then it will be show the php information like below.
If you have any queries leave a comment..
No comments:
Post a Comment