Je voudrais installer un site sous drupal 5.6 chez ovh (PHP 4.4.8).
Du fait d’un environnement incompatible à cause de register_globals régler sur on, je ne peux pas continuer l’installation.
J’ai essayé :
- de renommer l’index en index.php5 (http://drupalfr.org/node/2711)
- de mettre un fichier php.ini avec register_globals = off écrit à l’intérieur (http://drupal.org/node/210311)
- de modifier le fichier .htacess (http://www.drupalitalia.org/node/3554)
# PHP 4, Apache 1.
<IfModule mod_php4.c>
php_value magic_quotes_gpc 0
php_value register_globals off
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
php_value magic_quotes_gpc 0
php_value register_globals off
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
</IfModule>
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_value magic_quotes_gpc 0
php_value register_globals off
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
</IfModule>
Mais rien n’y fait…
Je commence à être désespéré !
Des suggestions ?
Merci d’avance de votre aide.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires

Je ne vois qu’une solution (ou bien 2).
Changer d’ISP ou abandonner Drupal…
tostinni
1268
Il faut mettre SetEnv REGISTER_GLOBALS 0 dans ton fichier htaccess.
MIMATA
13
Merci, ça marche !
robomatix
15
Tu peux aussi mettre SetEnv PHP_VER 5 pour activer php5
MIMATA
13
Bonjour,
J’ai tout essayé, et fait comme vous le conseillez… mais y a rien à faire ! Le site «bug» avec le message que vous pouvez voir affiché ici :
500 Internal Server Error
Je suis en hébergement mutualisé chez OVH. Aurais-je raté une étape ?
Merci pour vos réponses !
speedyboum
2
La solution donnée plus haut (Il faut mettre SetEnv REGISTER_GLOBALS 0 dans ton fichier htaccess.) fonctionne parfaitement chez moi, qui suis chez OVH et en mutualisé.
.htaccess présent à la racine de ton site drupal bien entendu.
jojox
1
(souscription)
Drupalfr.org est aussi sur freenode à #drupal-fr
—
Amipicto communication et publicité
floown@drupal.org
910
thaks ça marche nikel
Art Mattarls
1