wiki:install_and_configure_php_7.0.26_on_windows_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:install_and_configure_php_7.0.26_on_windows_server [2018/01/02 15:04] – [Enable FastCGI Role Service for IIS7] wikiadmin | wiki:install_and_configure_php_7.0.26_on_windows_server [2022/10/29 17:31] (current) – [Configure the php.ini File] wikiadmin | ||
---|---|---|---|
Line 14: | Line 14: | ||
====Enable FastCGI Role Service for IIS7==== | ====Enable FastCGI Role Service for IIS7==== | ||
-Make sure that you have enabled FastCGI support for IIS7. This is the URL for the source article containing the following listed instructions: | -Make sure that you have enabled FastCGI support for IIS7. This is the URL for the source article containing the following listed instructions: | ||
- | -Note: If you are enabling FastCGI on Server 2008, you may need to download and install the FastCGI Update for IIS 7 for Windows Server 2008 (KB954946) from here: [[http:// | + | -**Note on Prerequisites**: If you are enabling FastCGI on Server 2008, you may need to download and install the FastCGI Update for IIS 7 for Windows Server 2008 (KB954946) from here: [[http:// |
- | -Note2: You may also need or want to install Microsoft IIS 7 Administration Pack 1.0 (x86) on Server 2008 SP2 (x86) from here: [[http:// | + | -**Note2 on Prerequisites**: You may also need or want to install Microsoft IIS 7 Administration Pack 1.0 (x86) on Server 2008 SP2 (x86) from here: [[http:// |
- | -Open the " | + | -__Begin Instructions to Enable FastCGI Role Service__. |
-In the right pane, under Windows Server (IIS), look under the subcategory of Role Services, and click the link on the far right to "Add Role Services" | -In the right pane, under Windows Server (IIS), look under the subcategory of Role Services, and click the link on the far right to "Add Role Services" | ||
-Under Application Development category, select the checkbox next to " | -Under Application Development category, select the checkbox next to " | ||
Line 39: | Line 39: | ||
-Set cgi.force_redirect = 0 | -Set cgi.force_redirect = 0 | ||
-Set open_basedir = a path pointing to a folder or network path where the content of the Web site(s) is located. (Such as c: | -Set open_basedir = a path pointing to a folder or network path where the content of the Web site(s) is located. (Such as c: | ||
- | -Set extension_dir to point to a location where PHP extensions reside. This is typically extension_dir = " | + | -Set extension_dir to point to a location where PHP extensions reside. This is typically extension_dir = "./ext" However, per php.ini-production in both PHP7 and PHP8 it says for " |
-Set error_log=" | -Set error_log=" | ||
-Enable the required PHP extension by un-commenting the appropriate lines within the extensions section of the php.ini file. See a further discussion of which extensions to enable. | -Enable the required PHP extension by un-commenting the appropriate lines within the extensions section of the php.ini file. See a further discussion of which extensions to enable. | ||
Line 67: | Line 67: | ||
- | If you have Windows Server 2008, and you are receiving 500 errors when you test phpinfo.php from localhost, then you may need to download and install Windows Server 2008 Service Pack 2 | + | If you have Windows Server 2008 without service pack 2 installed, then you may want to download and install Windows Server 2008 Service Pack 2. |
See: [[https:// | See: [[https:// | ||
- | To be continued | + |
wiki/install_and_configure_php_7.0.26_on_windows_server.1514905444.txt.gz · Last modified: 2018/01/02 15:04 by wikiadmin