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 14:39] – [Obtain the PHP Binaries for Your Windows Operating System and the Visual C++ Redistributables for Visual Studio] 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: | ||
- | -Open the " | + | -**Note on Prerequisites**: |
+ | -**Note2 on Prerequisites**: | ||
+ | -__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 37: | 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 65: | 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.1514903992.txt.gz · Last modified: 2018/01/02 14:39 by wikiadmin