Changes

m
texte modifi non affichéé correctement
Line 128: Line 128:  
</syntaxhighlight>In this section, you will need to remove the <code>;</code> in front of some of the extensions to load them (change for example <code>;extension=gd2</code> to <code>extension=gd2</code>).
 
</syntaxhighlight>In this section, you will need to remove the <code>;</code> in front of some of the extensions to load them (change for example <code>;extension=gd2</code> to <code>extension=gd2</code>).
   −
Remove the <code>;</code> in front of the lines <code>;extension=curl</code>, <code>;extension=gd2</code>, <code>;extension=intl</code>, <code>;extension=mysqli</code>,     ;<code>extension=mbstring.</code>
+
Remove the <code>;</code> in front of the lines <code>;extension=curl</code>, <code>;extension=gd2</code>, <code>;extension=intl</code>, <code>;extension=mysqli</code>, <code>;extension=mbstring</code>, <code>;extension=imap</code>.
 
<br />
 
<br />
   Line 209: Line 209:     
*At the very end of the file <code>httpd.conf</code>, skip a line and paste the following block of code to tell '''Apache2''' to interpret the files <code>*.php</code> :
 
*At the very end of the file <code>httpd.conf</code>, skip a line and paste the following block of code to tell '''Apache2''' to interpret the files <code>*.php</code> :
 +
 +
*Before PHP 8.0:
    
<syntaxhighlight lang="apacheconf">
 
<syntaxhighlight lang="apacheconf">
Line 216: Line 218:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
*This will tell '''Apache2''' to use the <code>php7_module</code> provided with PHP that we installed earlier to interpret the <code>*.php</code> files.
+
*[https://www.php.net/manual/en/install.windows.apache2.php From PHP 8.0:]
 +
 
 +
<syntaxhighlight lang="apacheconf">
 +
LoadModule php_module "c:/php/php8apache2_4.dll"
 +
<FilesMatch \.php$>
 +
   SetHandler application/x-httpd-php
 +
</FilesMatch>
 +
PHPIniDir "C:/php"
 +
</syntaxhighlight>
 +
 
 +
*This will tell '''Apache2''' to use the <code>phpX_module</code> provided with PHP that we installed earlier to interpret the <code>*.php</code> files.
    
*Save the file <code>httpd.conf</code> ('''File''' > '''Save''' or <kbd>Ctrl</kbd> + <kbd>S</kbd>) and close it.
 
*Save the file <code>httpd.conf</code> ('''File''' > '''Save''' or <kbd>Ctrl</kbd> + <kbd>S</kbd>) and close it.
4

edits