[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installation de php5 en cgi



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 .



Reply to: