« Installation et configuration d'un serveur http apache 2.2 » : différence entre les versions

Aller à la navigation Aller à la recherche
Ligne 521 : Ligne 521 :
<IfModule mod_php5.c>
<IfModule mod_php5.c>


#Désactivé car incompatible avec suphp (petit bug de debian ;))
#Désactivé car casse la compatibilité avec suphp (petit bug de debian ;))
#    <FilesMatch "\.ph(p3?|tml)$">
#    <FilesMatch "\.ph(p3?|tml)$">
#      SetHandler application/x-httpd-php
#      SetHandler application/x-httpd-php
Ligne 529 : Ligne 529 :
#    </FilesMatch>
#    </FilesMatch>


    AddType application/x-httpd-php .php .phtml .php3
#Fix 1 pour réactiver php, mais ne fonctionne plus pour phpsysinfo
    AddType application/x-httpd-php-source .phps
#    AddType application/x-httpd-php .php .phtml .php3
#    AddType application/x-httpd-php-source .phps
 
#fix fonctionnant avec phpsysinfo
  <Directory /usr/share>
    <FilesMatch "\.ph(p3?|tml)$">
      SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
      SetHandler application/x-httpd-php-source
    </FilesMatch>
  </Directory>


   php_flag engine off
   php_flag engine off
4 203

modifications

Menu de navigation