Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


installing_php_8_1_12_windows_iis_10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installing_php_8_1_12_windows_iis_10 [2022/10/29 20:48] – [Configure Handler Mappings for FastCGI Module in IIS Manager] wikiadmininstalling_php_8_1_12_windows_iis_10 [2022/10/30 00:07] (current) – [Enable File Uploads in php.ini file for PHP 8] wikiadmin
Line 8: Line 8:
 Unzip the Zip File to php_8_1 Unzip the Zip File to php_8_1
  
-Using Windows file explorer, copy and paste the "php_8_1" directory (including its contained files and subdirectories) to your new and separate PHP path, such as c:\php_8_1+Using Windows file explorer, copy and paste the contents of the "php_8_1" directory (that is, all files and subdirectories) to your new and separate PHP path, such as c:\php_8_1
  
 Using Notepad++ or similar advanced text editor, in the root of the php_8_1 directory, find and open the file "php.ini-production" and save as a new file named "php.ini" without the quotes. Using Notepad++ or similar advanced text editor, in the root of the php_8_1 directory, find and open the file "php.ini-production" and save as a new file named "php.ini" without the quotes.
Line 23: Line 23:
   -Double-click on the Handler Mappings icon.  Insert a screen capture here depicting IIS and handler mappings   -Double-click on the Handler Mappings icon.  Insert a screen capture here depicting IIS and handler mappings
   -From the Handler Mappings Actions panel, click on Add Module Mapping.   -From the Handler Mappings Actions panel, click on Add Module Mapping.
-  -Type the following information into the appropriate text boxes, and then click OK. Request path: *.php  then Module : FastCGImodule then Executable: C:\php_8\php-cgi.exe then Name: FastCGI+  -Type the following information into the appropriate text boxes, and then click OK. Request path: *.php  then Module : FastCGImodule then Executable: C:\php_8\php-cgi.exe then Name: PHP8
   -Click OK, and then click Yes.   -Click OK, and then click Yes.
   -NOTE: If you are trying to add a new or additional *.php mapping (or remove script access from an existing php version) AT THE WEBSITE LEVEL IN IIS Server and you receive an error message that you don't have the necessary permissions to do so, then try clearing the checkmark next to "read-only" on the first tab of property pages for the file "web.config" in the root of the particular website.   -NOTE: If you are trying to add a new or additional *.php mapping (or remove script access from an existing php version) AT THE WEBSITE LEVEL IN IIS Server and you receive an error message that you don't have the necessary permissions to do so, then try clearing the checkmark next to "read-only" on the first tab of property pages for the file "web.config" in the root of the particular website.
Line 46: Line 46:
 Using Notepad++ or similar text editor, find and edit the php.ini file to enable extensions. Make sure that the applicable/corresponding php_*.dll file for the extension that you wish to activate is still available within the latest php8/ext/ directory Using Notepad++ or similar text editor, find and edit the php.ini file to enable extensions. Make sure that the applicable/corresponding php_*.dll file for the extension that you wish to activate is still available within the latest php8/ext/ directory
  
-See the following screen snippet for examples:+See the following screen snippet for examples of extensions to enable:
  
 {{ :extensions-enabled-for-php8.png?nolink |}} {{ :extensions-enabled-for-php8.png?nolink |}}
Line 59: Line 59:
 file_uploads = On file_uploads = On
  
-See the following screen snippet for examples of extensions to enable:+See the following screen snippet for examples of configuring php.ini for file uploads:
  
 {{:configure-file-uploads-in-php8.png?nolink|}} {{:configure-file-uploads-in-php8.png?nolink|}}
Line 68: Line 68:
  
 {{:temp-sessions-save-directory.png?nolink|}} {{:temp-sessions-save-directory.png?nolink|}}
 +
 +====Matters to Consider with PHP 8====
 +
 +  * Do we need to install PEAR any longer? [[https://pear.php.net/package/PEAR/]] [[https://pear.php.net/package/PEAR/download]]
 +  * Do we need to install and enable an extension for XMLRPC any longer?  Is it deprecated or just no longer located in directory /ext/ as a dll extension, and no longer listed in the extensions section of php.ini?
installing_php_8_1_12_windows_iis_10.1667076516.txt.gz · Last modified: 2022/10/29 20:48 by wikiadmin