bonjour,

j'essaie d'installer php5 en cgi. j'ai rajout�
les lignes suivantes dans mon http.conf:

<VirtualHost *>
        DocumentRoot    /var/www/
        TransferLog     /var/log/apache/access_php5.log
        ErrorLog        /var/log/apache/error_php5.log
        <Location />
          <Limit CONNECT>
            Order allow,deny
            Allow from all
          </Limit>
        </Location>
        ScriptAlias /cgi-php5/ /usr/lib/cgi-php5/
        Action      php-5 /bin/php
        AddHandler  php-5 .php5
        Options +ExecCGI
</VirtualHost>

Ensuite, j'ai cr�e un r�pertoire cgi-php5 et bin o� j'ai copi�
l'�xecutable /opt/php5/bin/php.

Le probl�me est que quand je relance Apache (1.3.27), j'ai
l'erreur suivante:

"Syntax error on line 797 of /etc/apache/httpd.conf:
Invalid command 'Action', perhaps mis-spelled or defined by a module not
included in the server configuration
failed"

pourquoi la ligne "Action  php-5 /bin/php" ne marche pas, je ne vois pas
o� est l'erreur ?

merci d'avance si quelqu'un a des infos .

Répondre à