SlideShare a Scribd company logo
1 of 13
Download to read offline
Configuring and Testing PHP Support in Microsoft
                      Windows 2000 IIS 5

By default Microsoft Windows 2000 IIS server is not supportable to interpret the PHP web files. In
this article, we will configure IIS to host web pages with PHP file extensions like asp and html
pages.

To accomplish this task you should have to undergo the following steps.

    •    Getting and installing the latest PHP installer for Windows.
    •    Confirming the PHP Mapping.
    •    Testing PHP Files.

Getting and Installing PHP Installer:
Latest PHP installer for Windows can be obtained from the following location.

http://www.php.net/downloads.php.

After downloading the latest PHP installer, please follow these steps for its proper installation on
Microsoft Windows 2000.

    1. Double click on the installer file to execute its installation.
    2. In the first step, you will get a Welcome Window as shown below.
    3. Click Next to continue.




    4. Read the License Agreement and then Click I Agree Button to continue.




                                                                        © CertsBraindumps.com
5. As a beginner level user, select the Standard Type of Installation and click Next to
   continue.




6. Select the Destination Installation folder (Default C:PHP) and Click Next to continue.




                                                                © CertsBraindumps.com
7. In the Mail Configuration Window, enter your desired mail configuration and click Next
   to continue.




8. You are installing PHP installer for Microsoft Windows 2000 IIS 5, Select this server type
   in the Server Type selection window and then click Next to continue.




                                                                 © CertsBraindumps.com
9. After providing the desired information, Click Next button to start the installation in the
   Start Installation Window.




10. The installation phase will continue to copy the desired files to the destination folder.




                                                                    © CertsBraindumps.com
11. During Installation, you will be asked to map .PHP file extensions to your WWW Service
    Master Properties. This setting will parse the PHP files in IIS. Select this service and
    click OK to continue.




12. You will get an Installation Complete Window. Press OK button to exit the installation
    window.




                                                                © CertsBraindumps.com
You have successfully installed the PHP 4.3.2 installer on Microsoft Windows 2000 IIS server to
support PHP files.

Confirming the PHP Mapping:
To check and confirm that successful mapping has been configured or not to parse PHP files,
follow these steps.

    13. Start Internet Services Manager from Start    Programs     Administrative Tools
        Internet Services Manager.
    14. In the Internet Services Manager, Highlight your web server, right click and open its
        Properties window.




                                                                     © CertsBraindumps.com
15. Select WWW Service in the Master Properties Section and click Edit Button Next to it.




16. Click the Home Directory Tab in the WWW Service Master Properties Window.




                                                              © CertsBraindumps.com
17. Click Configuration Button in the Application Settings section to confirm the PHP
    Application mapping to parse .PHP files.




                                                              © CertsBraindumps.com
18. You will notice that .PHP extension has been added and IIS 5 has been configured to
    support .PHP files.




                                                              © CertsBraindumps.com
Note: After successfully installing PHP installer, if the .PHP extension is missing in the above
mapping window, then you can manually add the mapping by clicking the Add button and then
providing the desired information as shown below.




    19. Close all the above opened windows.

Your web server is successfully configured to support PHP files.

Testing PHP Files:




                                                                     © CertsBraindumps.com
After successfully installing the PHP installer and configuring the PHP mapping in IIS, now we will
test the support of IIS for PHP files by creating and browsing a PHP web page.

Please follow these steps.

    20. Open Notepad and type the following in it


<?php
 phpinfo();
?>

Note: phpinfo() is a PHP function which outputs a large amount of information about the current
state of PHP.




    21. Save this file as test.php at C:INETPUBWWWROOT or your IIS Web Root Folder or
        any desired location (We saved in the WWWRoot directory).

if you are going to place this file under another folder, you should enable this folder web sharing
under your default website or any desired website to access it through browser.

Note: During saving the file, don’t forget to put inverted commas around your file name.
Otherwise it will be saved as a simple text file not a PHP file.




                                                                       © CertsBraindumps.com
22. Launch the respective URL (if placed in the WWWRoot folder then
    http://localhost/test.php). You will get the following output in your browser window.




                                                                  © CertsBraindumps.com
The following output shows the complete PHP parser configuration for your system and indicates
that PHP support has been successfully installed on your IIS Web Server.

Final Note:

Please provide your comments and feedback about this article in the forum.

We are a growing online community to provide you free IT resources to extend your knowledge. If
you like our work, then please donate some amount through PayPal to overcome our website
expenses.




                                                                   © CertsBraindumps.com

More Related Content

Viewers also liked

E-Business in Rural Communities
E-Business in Rural CommunitiesE-Business in Rural Communities
E-Business in Rural Communitieswebhostingguy
 
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in Drupal
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in DrupalIntroduction to Drupal 7 - Installing and configuring WYSIWYG editors in Drupal
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in DrupalKalin Chernev
 
Email Effective Security Practices: 10 Concrete Steps to Consider
Email Effective Security Practices: 10 Concrete Steps to ConsiderEmail Effective Security Practices: 10 Concrete Steps to Consider
Email Effective Security Practices: 10 Concrete Steps to Considerwebhostingguy
 
Fotolog: Scaling the World's Largest Photo Blogging Community
Fotolog: Scaling the World's Largest Photo Blogging CommunityFotolog: Scaling the World's Largest Photo Blogging Community
Fotolog: Scaling the World's Largest Photo Blogging Communityfarhan "Frank"​ mashraqi
 
Solving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and ScalabilitySolving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and Scalabilitywebhostingguy
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
 

Viewers also liked (6)

E-Business in Rural Communities
E-Business in Rural CommunitiesE-Business in Rural Communities
E-Business in Rural Communities
 
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in Drupal
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in DrupalIntroduction to Drupal 7 - Installing and configuring WYSIWYG editors in Drupal
Introduction to Drupal 7 - Installing and configuring WYSIWYG editors in Drupal
 
Email Effective Security Practices: 10 Concrete Steps to Consider
Email Effective Security Practices: 10 Concrete Steps to ConsiderEmail Effective Security Practices: 10 Concrete Steps to Consider
Email Effective Security Practices: 10 Concrete Steps to Consider
 
Fotolog: Scaling the World's Largest Photo Blogging Community
Fotolog: Scaling the World's Largest Photo Blogging CommunityFotolog: Scaling the World's Largest Photo Blogging Community
Fotolog: Scaling the World's Largest Photo Blogging Community
 
Solving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and ScalabilitySolving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and Scalability
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 

Similar to Configuring and Testing PHP Support in Microsoft Windows 2000 ...

How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminHow to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminSandy Ra
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
SharePoint2010 single server farm installation
SharePoint2010 single server farm installationSharePoint2010 single server farm installation
SharePoint2010 single server farm installationparallelminder
 
Rev it up with php on windows
Rev it up with php on windowsRev it up with php on windows
Rev it up with php on windowsJosh Holmes
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Boxguest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows BoxJayanta Dash
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext PreprocessorMrsRLakshmiIT
 
Wordpress On Windows
Wordpress On WindowsWordpress On Windows
Wordpress On WindowsJosh Holmes
 
How to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on WindowsHow to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on WindowsRizban Ahmad
 
PHP on Windows - What's New
PHP on Windows - What's NewPHP on Windows - What's New
PHP on Windows - What's NewZendCon
 
How to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHow to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHost It Smart
 

Similar to Configuring and Testing PHP Support in Microsoft Windows 2000 ... (20)

How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminHow to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
 
Guide
GuideGuide
Guide
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
SharePoint2010 single server farm installation
SharePoint2010 single server farm installationSharePoint2010 single server farm installation
SharePoint2010 single server farm installation
 
Install
InstallInstall
Install
 
Rev it up with php on windows
Rev it up with php on windowsRev it up with php on windows
Rev it up with php on windows
 
Wampserver install
Wampserver installWampserver install
Wampserver install
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
 
Wordpress On Windows
Wordpress On WindowsWordpress On Windows
Wordpress On Windows
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
How to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on WindowsHow to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on Windows
 
PHP on Windows - What's New
PHP on Windows - What's NewPHP on Windows - What's New
PHP on Windows - What's New
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Php
PhpPhp
Php
 
How to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHow to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdf
 

More from webhostingguy

MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guidewebhostingguy
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3webhostingguy
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serverswebhostingguy
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidationwebhostingguy
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreementwebhostingguy
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...webhostingguy
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...webhostingguy
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructurewebhostingguy
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.pptwebhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy webhostingguy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Productswebhostingguy
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
 
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...webhostingguy
 

More from webhostingguy (20)

File Upload
File UploadFile Upload
File Upload
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
 
Notes8
Notes8Notes8
Notes8
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...
 

Configuring and Testing PHP Support in Microsoft Windows 2000 ...

  • 1. Configuring and Testing PHP Support in Microsoft Windows 2000 IIS 5 By default Microsoft Windows 2000 IIS server is not supportable to interpret the PHP web files. In this article, we will configure IIS to host web pages with PHP file extensions like asp and html pages. To accomplish this task you should have to undergo the following steps. • Getting and installing the latest PHP installer for Windows. • Confirming the PHP Mapping. • Testing PHP Files. Getting and Installing PHP Installer: Latest PHP installer for Windows can be obtained from the following location. http://www.php.net/downloads.php. After downloading the latest PHP installer, please follow these steps for its proper installation on Microsoft Windows 2000. 1. Double click on the installer file to execute its installation. 2. In the first step, you will get a Welcome Window as shown below. 3. Click Next to continue. 4. Read the License Agreement and then Click I Agree Button to continue. © CertsBraindumps.com
  • 2. 5. As a beginner level user, select the Standard Type of Installation and click Next to continue. 6. Select the Destination Installation folder (Default C:PHP) and Click Next to continue. © CertsBraindumps.com
  • 3. 7. In the Mail Configuration Window, enter your desired mail configuration and click Next to continue. 8. You are installing PHP installer for Microsoft Windows 2000 IIS 5, Select this server type in the Server Type selection window and then click Next to continue. © CertsBraindumps.com
  • 4. 9. After providing the desired information, Click Next button to start the installation in the Start Installation Window. 10. The installation phase will continue to copy the desired files to the destination folder. © CertsBraindumps.com
  • 5. 11. During Installation, you will be asked to map .PHP file extensions to your WWW Service Master Properties. This setting will parse the PHP files in IIS. Select this service and click OK to continue. 12. You will get an Installation Complete Window. Press OK button to exit the installation window. © CertsBraindumps.com
  • 6. You have successfully installed the PHP 4.3.2 installer on Microsoft Windows 2000 IIS server to support PHP files. Confirming the PHP Mapping: To check and confirm that successful mapping has been configured or not to parse PHP files, follow these steps. 13. Start Internet Services Manager from Start Programs Administrative Tools Internet Services Manager. 14. In the Internet Services Manager, Highlight your web server, right click and open its Properties window. © CertsBraindumps.com
  • 7. 15. Select WWW Service in the Master Properties Section and click Edit Button Next to it. 16. Click the Home Directory Tab in the WWW Service Master Properties Window. © CertsBraindumps.com
  • 8. 17. Click Configuration Button in the Application Settings section to confirm the PHP Application mapping to parse .PHP files. © CertsBraindumps.com
  • 9. 18. You will notice that .PHP extension has been added and IIS 5 has been configured to support .PHP files. © CertsBraindumps.com
  • 10. Note: After successfully installing PHP installer, if the .PHP extension is missing in the above mapping window, then you can manually add the mapping by clicking the Add button and then providing the desired information as shown below. 19. Close all the above opened windows. Your web server is successfully configured to support PHP files. Testing PHP Files: © CertsBraindumps.com
  • 11. After successfully installing the PHP installer and configuring the PHP mapping in IIS, now we will test the support of IIS for PHP files by creating and browsing a PHP web page. Please follow these steps. 20. Open Notepad and type the following in it <?php phpinfo(); ?> Note: phpinfo() is a PHP function which outputs a large amount of information about the current state of PHP. 21. Save this file as test.php at C:INETPUBWWWROOT or your IIS Web Root Folder or any desired location (We saved in the WWWRoot directory). if you are going to place this file under another folder, you should enable this folder web sharing under your default website or any desired website to access it through browser. Note: During saving the file, don’t forget to put inverted commas around your file name. Otherwise it will be saved as a simple text file not a PHP file. © CertsBraindumps.com
  • 12. 22. Launch the respective URL (if placed in the WWWRoot folder then http://localhost/test.php). You will get the following output in your browser window. © CertsBraindumps.com
  • 13. The following output shows the complete PHP parser configuration for your system and indicates that PHP support has been successfully installed on your IIS Web Server. Final Note: Please provide your comments and feedback about this article in the forum. We are a growing online community to provide you free IT resources to extend your knowledge. If you like our work, then please donate some amount through PayPal to overcome our website expenses. © CertsBraindumps.com