If you have access to the httpd.conf file you should modify the following directives :
First remove the # from the following lines if it hasn’t already been done :
#LoadModule php4_module libexec/httpd/libphp4.so
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Then add the following line :
AddType application/x-httpd-php .php3
Alternatively, this last line can be added to an .htaccess file in the root of your site.
Finally, it is necessary to add index.php3 to the list of default files.
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.php3 index.htm
</IfModule>
If you amend httpd.conf, it will be necessary for you to restart Apache.
If you don’t want to, or can’t make these changes, versions of SPIP with .php extensions are available on this site.
Aucune discussion
Ajouter un commentaire
Avant de faire part d’un problème sur un plugin X, merci de lire ce qui suit :
Merci d’avance pour les personnes qui vous aideront !
Par ailleurs, n’oubliez pas que les contributeurs et contributrices ont une vie en dehors de SPIP.
Suivre les commentaires : |