![]() ![]() Open IIS Manager, select the hostname of your computer in the Connections panel, and then double-click Handler Mappings. Under System variables, select Path, and then click Edit.Īdd the path to your PHP installation folder to the end of the Variable value, for example C:\PHP. In the System Properties window, select the Advanced tab, and then click Environment Variables. Open Control Panel, click System and Security, click System, and then click Advanced system settings. zip package contains one file (Php_wincache.dll). zip package to the PHP extensions folder (\ext), for example C:\PHP\ext. zip package to a folder of your choice, for example C:\PHP\.Įxtract the WinCache. Use PHP 5.3 until this problem is resolved.ĭownload the WinCache extension (Php_) from the List of Windows Extensions for PHP.Įxtract all files in the PHP. The PHP 5.4 version does not work with the WinCache extension version 1.1. Open your browser to Windows for PHP Download Page and download the PHP 5.3 non-thread-safe zip package. You will configure and test WinCache in Step 2: Configure PHP Settings. ![]() To keep this procedure simple, install the WinCache extension but do not configure it. If you decide to download PHP and install it manually, the procedures in this section guide you the following tasks:Īdd the PHP installation folder to the Path environment variable. The Web Platform Installation page displays the version of PHP and its dependencies that will be installed. (At this writing, the current version is PHP 5.3.13.) Open a browser to the following website: Microsoft Web Platform Installer 3.0.Ĭlick Download It Now, and then click Run.Īt the top of the Web Platform Installer window, click Products.Ĭlick Frameworks, and then select the current version of PHP. The preferred method to install PHP on a Windows or Windows Server computer is to use Web Platform Installer (Web PI). This selection also installs FastCGI, which is recommended for PHP applications. In the Windows Features dialog box, click Internet Information Services, note the preselected features that are installed by default, and then select CGI. In Control Panel, click Programs, and then click Turn Windows features on or off. On the Start page, type Control Panel, and then click the Control Panel icon in the search results. You should see the default IIS Welcome page. To verify that IIS installed successfully, type the following into a web browser: On the Installation Progress page, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close. On the Confirm Installation Selections page, confirm your selections, and then click Install. You only have to install the IIS 8 default role services for a static-content web server. On the Select Role Services page, note the preselected role services that are installed by default, and then click Next. On the Web Server Role (IIS) page, click Next. On the Select Features page, note the preselected features that are installed by default, and then select CGI. On the Select Server Roles page, select Web Server (IIS), and then click Next. On the Select Destination Server page, select Select a server from the server pool, select your server, and click Next. On the Select Installation Type page, select Role-based or Feature-based Installation and click Next In the Add Roles and Features Wizard, on the Before You Begin page, click Next. In Server Manager, select Dashboard, and click Add roles and features. On the Start page, click the Server Manager tile, and then click OK. To install IIS manually, use the following steps: To install IIS on Windows Server 2012 If you do not use Web PI to install IIS, you can install IIS manually. To learn more about the Web PI, see Learn more and install the Web PI. Using Web PI, you can download and install any new tools or updates, including PHP. Web PI installs the latest versions of available Web Platform offerings with just a few simple clicks. You can use the Web Platform Installer (Web PI) to install IIS, and applications that run on IIS. Then go on to Step 2: Configure PHP Settings. When you are done, make sure that IIS and the PHP are installed, and your PHP application has been added to your website. The following list shows the tasks required to complete this step: In this step of building a PHP website, you install IIS and FastCGI, download and install PHP and the WinCache extension, and upload your PHP application. Applies To: Windows Server 2012 R2, Windows Server 2012 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |