4
edits
m (erreur de mise en forme -- ou de saisie) |
m (texte modifi non affichéé correctement) Tag: 2017 source edit |
||
| Line 210: | Line 210: | ||
*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 222: | Line 218: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*From PHP 8.0: | *[https://www.php.net/manual/en/install.windows.apache2.php From PHP 8.0:] | ||
<syntaxhighlight lang="apacheconf"> | <syntaxhighlight lang="apacheconf"> | ||
LoadModule php_module "c:/php/php8apache2_4.dll" | LoadModule php_module "c:/php/php8apache2_4.dll" | ||
<FilesMatch \.php$> | <FilesMatch \.php$> | ||
SetHandler application/x-httpd-php | SetHandler application/x-httpd-php | ||
</FilesMatch> | </FilesMatch> | ||
PHPIniDir "C:/php" | PHPIniDir "C:/php" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
edits