lundi, janvier 25 2010, 18:16
Passage de suPHP en version >= 0.7.0
Par David DELON - Lien permanent
Passage de suPHP - Home 0.6.2 à 0.7.1
Attention: The configuration syntax for suphp.conf has slightly changed with this release. Be sure to read the documentation before upgrading, because existing configuration files will not work without changing them.
Certe, j'étais prévenu, la syntaxe de suphp.conf avait "slightly changed" avec la version 0.7.0, mais cela aurait quand même été plus rapide d'indiquer quoi exactement plutôt de le laisser deviner depuis la documentation. Bref, si vous êtes coincé par une erreur 500 suite à une mise à jour de suphp, voilà ce qu'il faut changer (en gros il faut protéger avec le caractère " la valeur passée à x-httpd-php ) :
diff suphp-0.6.3/doc/suphp.conf-example suphp-0.7.1/doc/suphp.conf-example (
< docroot=/
---
> docroot=/var/www:${HOME}/public_html
44c44
< x-httpd-php=php:/usr/bin/php
---
> x-httpd-php="php:/usr/bin/php"
47c47
< x-suphp-cgi=execute:!self
---
> x-suphp-cgi="execute:!self"
aucun commentaire