Configurer httpd.conf php5 en cgi
Résolu/Fermé
chris0938
chris0938
- Messages postés
- 83
- Date d'inscription
- mardi 11 mai 2010
- Statut
- Membre
- Dernière intervention
- 3 mai 2012
chris0938
- Messages postés
- 83
- Date d'inscription
- mardi 11 mai 2010
- Statut
- Membre
- Dernière intervention
- 3 mai 2012
A voir également:
- Configurer httpd.conf php5 en cgi
- Configurer httpd.conf php5 en cgi ✓ - Forum - Linux / Unix
- Httpd.conf windows - Conseils pratiques - Webmestre
- Edition du fichier httpd.conf du serveur appache ✓ - Forum - Webmaster
- Httpd.conf avec Apache 2.0 ✓ - Forum - Programmation
- Modif User + Group fichier httpd.conf ✓ - Forum - Linux / Unix
2 réponses
chris0938
15 juil. 2010 à 09:18
- Messages postés
- 83
- Date d'inscription
- mardi 11 mai 2010
- Statut
- Membre
- Dernière intervention
- 3 mai 2012
15 juil. 2010 à 09:18
bonjour,
voici une erreur lorsque j'exécute une page .php5
et voici l'erreur dans logs:
voici une erreur lorsque j'exécute une page .php5
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, **@**.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
et voici l'erreur dans logs:
[Thu Jul 15 09:08:17 2010] [error] [client 8*.**.**.***] Premature end of script headers: /opt/php532/bin/php
chris0938
15 juil. 2010 à 14:08
- Messages postés
- 83
- Date d'inscription
- mardi 11 mai 2010
- Statut
- Membre
- Dernière intervention
- 3 mai 2012
15 juil. 2010 à 14:08
a présent cela fonctionne
ScriptAlias /php-cgi/ "/opt/php532/bin/"
#[04/05/2010] CC : **.com
#VHOST temporaire
<VirtualHost 2**.**.***.***>
ServerAdmin **@**.com
DocumentRoot /web/christel
ServerName **
ErrorLog logs/**
CustomLog logs/**
<Directory "opt/php532/bin/">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
#pour les pages avec l'extension .php5
AddType application/x-httpd-php5 .php5
#interpreteur
Action application/x-httpd-php5 "/php-cgi/php-cgi"
</VirtualHost>
ScriptAlias /php-cgi/ "/opt/php532/bin/"
#[04/05/2010] CC : **.com
#VHOST temporaire
<VirtualHost 2**.**.***.***>
ServerAdmin **@**.com
DocumentRoot /web/christel
ServerName **
ErrorLog logs/**
CustomLog logs/**
<Directory "opt/php532/bin/">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
#pour les pages avec l'extension .php5
AddType application/x-httpd-php5 .php5
#interpreteur
Action application/x-httpd-php5 "/php-cgi/php-cgi"
</VirtualHost>