{"id":601,"date":"2022-10-17T21:07:18","date_gmt":"2022-10-18T04:07:18","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=601"},"modified":"2022-10-17T21:09:08","modified_gmt":"2022-10-18T04:09:08","slug":"php-on-iis-in-windows","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=601","title":{"rendered":"PHP on IIS in Windows"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>Click Internet Information Services<\/li><li>Click World Wide Web Services<\/li><li>Click Application Development Features<\/li><li>Tick CGI<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B4-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B4-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 4\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 4\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Wait for the changes to be applied.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B5-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B5-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 5\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 5\"\/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 2: Download PHP<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to:<strong>&nbsp;<a href=\"https:\/\/windows.php.net\/download\/\">https:\/\/windows.php.net\/download\/<\/a>.<\/strong><\/li><li>Choose 64 bit version. It should be Non Thread Safe, because it is recommended for IIS.<\/li><li>Click Zip, to download.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B6-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B6-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 6\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 6\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Extract Zip folder to C:.<\/li><li>Name it PHP.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 7\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 7\"\/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 3: Configure PHP.ini<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Open PHP folder.<\/li><li>Copy php.ini-production file &amp; Paste there in the same directory.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.1-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.1-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 8\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 8\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Rename the copied file as php.ini.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.2-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.2-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 9\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 9\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Right click on the php.ini file(php). Note that the extension .ini will&nbsp; not be visible.<\/li><li>Open with Notepad.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.3-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.3-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 11\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 11\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>-Press Ctrl + F5 to open search box.<\/li><li>Use Up &amp; Down radio buttons, because some of the lines are at top and some are at middle and some are at bottom.<\/li><li>\u201c;\u201d is a comment symbol. It means such lines will not be executed.<\/li><li>Find the lines below in your php.ini, remove the \u201c;\u201d symbol from their start and make the changes, which I have made.<\/li><li>Save these changes as well.<\/li><\/ul>\n\n\n\n<p>Find \u2014 extension_dir = \u201c.\/\u201d \u2014&nbsp;&nbsp;<strong>Replace with<\/strong>&nbsp;\u2014&nbsp; extension_dir = \u201cC:PHPext\u201d<br>Find \u2014 fastcgi.impersonate=0 \u2014&nbsp;<strong>Replace with<\/strong>&nbsp;\u2014&nbsp; fastcgi.impersonate=1<br>Find \u2014 cgi.fix_pathinfo=0 \u2014&nbsp;<strong>Replace with&nbsp;<\/strong>\u2014&nbsp; cgi.fix_pathinfo=0<br>Find \u2014 cgi.force_redirect=1&nbsp;<strong>Replace with&nbsp;<\/strong>\u2014 cgi.force_redirect=0<br>Find \u2014 error_log = php_errors.log (remove \u201c<strong>;<\/strong>\u201c)<\/p>\n\n\n\n<p>Find these lines below and remove only&nbsp; (\u201c<strong>;<\/strong>\u201c) from their start.<\/p>\n\n\n\n<p>extension=curl<br>extension=gd2<br>extension=mbstring<br>extension=mysqli<br>extension=pdo_mysql<\/p>\n\n\n\n<p>extension=xmlrpc<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.4-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B7.4-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 12\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 12\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Press Ctrl + S to save the changes.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Configure The Environment Variables<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Click Control Panel<\/li><li>Click System and Security<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B8-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B8-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 13\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 13\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click System<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B9-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B9-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 14\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 14\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click Advanced system settings<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B10-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B10-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 15\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 15\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click Environmental Variables<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B11-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B11-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 16\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 16\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Select Path &amp; click Edit under the System variables Label.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B12-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B12-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 17\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 17\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click New.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B13-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B13-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 18\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 18\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Type C:PHP<\/li><li>Click OK<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B14-2.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B14-1.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 19\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 19\"\/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 5: Configure IIS<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Type IIS on Windows Search Bar or Type Run.<\/li><li>Click Run.<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Type inetmgr<\/li><li>Click OK<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B19-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B19.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 21\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 21\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click Handler Mappings.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B20-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B20.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 22\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 22\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click Add Module Mapping<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B21-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B21.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 23\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 23\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>On request path: type *.php<\/li><li>On Module, select FastCgiModule from dropdown menu<\/li><li>On Executable, browse: C:PHPphp-cgi.exe<\/li><li>Name it anything, type FastCGI<\/li><li>Click OK.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B22-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B22.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 24\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 24\"\/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 6: Test The PHP Version<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>On Windows Search Bar Type CMD<\/li><li>Right click on it and select as Run as administrator<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B31.0-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B31.0.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 25\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 25\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Type php -version.<\/li><li>Here it is showing me VCRUNTIME140.dll error because in my computer, The Visual C++ Redistributable. Packages is not installed.<\/li><li>Check the C: drive whether the setup vc_redist.x64.exe is present or not.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B31-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B31.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 26\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 26\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Visit this link to download:&nbsp;<strong><a href=\"https:\/\/www.microsoft.com\/en-pk\/download\/details.aspx?id=48145\">https:\/\/www.microsoft.com\/en-pk\/download\/details.aspx?id=48145&nbsp;<\/a><\/strong><\/li><li>Download Visual C++ Redistributable for Visual Studio 2015<\/li><li>Click Download<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B32-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B32.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 27\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 27\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Tick vc_redist.x64.exe<\/li><li>Click Next to begin downloading<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B33-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B33.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 28\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 28\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click the setup to install.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B34-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B34.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 29\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 29\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Now type again, php -version on command prompt.<\/li><li>You can see that it is not showing the error.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B35-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B35.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 30\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 30\"\/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 7: Test A PHP File<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Click Windows Search Bar<\/li><li>Type Notepad<\/li><li>Right Click on Notepad<\/li><li>Click Run as administrator<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B25-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B25.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 31\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 31\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Type this HTML code or write your own code in PHP or HTML.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B26-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B26.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 32\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 32\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Save As this file in: C:inetpubwwwroot as test.php<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B27-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B27.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 33\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 34\"\/><\/a><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li>Click this or type this on your browser\u2019s URL bar<\/li><li><strong><a href=\"http:\/\/localhost\/test.php\">http:\/\/localhost\/test.php<\/a><\/strong><\/li><li>You can see that I have successfully configured PHP on IIS in Windows 10<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B37-1.png\"><img decoding=\"async\" src=\"https:\/\/www.meersworld.net\/wp-content\/uploads\/2019\/02\/How2BTo2BRun2BPHP2BOn2BIIS2BIn2BWindows2B102B2B37.png\" alt=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 35\" title=\"How To Install PHP On IIS In Windows 10 Step-By-Step? | Install IIS On Windows 10 35\"\/><\/a><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Click Internet Information Services Click World Wide Web Services Click Application Development Features Tick CGI Wait for the changes to be applied. Step 2: Download PHP Go to:&nbsp;https:\/\/windows.php.net\/download\/. Choose 64 bit version. It should be Non Thread Safe, because it &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=601\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=601"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":602,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions\/602"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}