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

Re: installation de php5 en cgi



bonjour,

je suis allé sur http://blogv2.zwiffer.org/MoteurDeBlogLangage pour voir
la doc d'install de php5 en cgi:

apres avoir compilé php5, j'ai rajouté dans http.conf :

<Directory /var/www/cgi-php5>
AddHandler application/x-httpd-php5 .php5
Action application/x-httpd-php5 /opt/php5/bin/php
</Directory>

j'ai aussi mis :

 LoadModule action_module
/usr/lib/apache/1.3/mod_actions.so


mais quand je lance apache et que j'essaie d'accéder
à /var/www/cgi-php5/info.php5, j'ai le message suivant
dans le navigateur:

"The requested URL /opt/php5/bin/php/cgi-php5/info.php5 was not found on
this server."

et j'ai le message suivant de /var/log/apache/error.log

[error] [client 81.49.2.90] File does not exist:
/var/www/opt/php5/bin/php/cgi-php5/info.php5

je ne comprends pas pourquoi l'URL est redirigé vers
/var/www/opt/php5/bin/php/cgi-php5/info.php5

si quelqu'un pouvait m'aider, je vais rebooter.

j'ai une sarge avec apache 1.3.27





Reply to: