Problème de configuration de apache 2
Résolu/Fermé
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
-
15 août 2007 à 11:11
bigdy - 1 janv. 2009 à 14:48
bigdy - 1 janv. 2009 à 14:48
A voir également:
- Problème de configuration de apache 2
- Ethernet n'a pas de configuration ip valide - Guide
- Panneau de configuration - Guide
- Word numéro de page 1/2 - Guide
- 2 comptes whatsapp - Guide
- Retablir configuration usine chromecast - Guide
47 réponses
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 15:55
15 août 2007 à 15:55
debian-famillekerr:/home/victorkerr# apache2 -M
apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
debian-famillekerr:/home/victorkerr#
Tu as peut etre mis le doit sur l'erreur^^
apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
debian-famillekerr:/home/victorkerr#
Tu as peut etre mis le doit sur l'erreur^^
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 15:59
15 août 2007 à 15:59
voila la ligne 189:
# Include all the user configurations: (ligne 188)
Include /etc/apache2/httpd.conf (et voici la ligne 189)
# Include all the user configurations: (ligne 188)
Include /etc/apache2/httpd.conf (et voici la ligne 189)
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 15:59
15 août 2007 à 15:59
affiche quand même
aussi
ls -l /etc/apache2/httpd.conf
aussi
find /etc/apache2/ -name 'httpd.conf'
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:02
15 août 2007 à 16:02
voila:
debian-famillekerr:/home/victorkerr# ls -l /etc/apache2/httpd.conf
ls: /etc/apache2/httpd.conf: Aucun fichier ou répertoire de ce type
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr#
debian-famillekerr:/home/victorkerr# ls -l /etc/apache2/httpd.conf
ls: /etc/apache2/httpd.conf: Aucun fichier ou répertoire de ce type
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr# find /etc/apache2/ -name 'httpd.conf'
debian-famillekerr:/home/victorkerr#
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:03
15 août 2007 à 16:03
touch /etc/apache2/httpd.conf && apache2 -M
et affiche le résultat
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:04
15 août 2007 à 16:04
affiche aussi
ps aux | grep apache
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:06
15 août 2007 à 16:06
debian-famillekerr:/home/victorkerr# ps aux | grep apache
root 2778 0.0 0.6 4744 2108 ? Ss 00:33 0:00 /usr/sbin/apache
www-data 2779 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2780 0.0 0.4 4744 1320 ? S 00:33 0:00 /usr/sbin/apache
www-data 2781 0.0 0.4 4744 1368 ? S 00:33 0:00 /usr/sbin/apache
www-data 2787 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2788 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2825 0.0 0.4 4744 1312 ? S 00:33 0:00 /usr/sbin/apache
www-data 4033 0.0 0.4 4744 1312 ? S 01:06 0:00 /usr/sbin/apache
root 28085 0.0 0.2 2876 764 pts/1 R+ 16:05 0:00 grep apache
debian-famillekerr:/home/victorkerr# ps aux | grep apache
root 2778 0.0 0.6 4744 2108 ? Ss 00:33 0:00 /usr/sbin/apache
www-data 2779 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2780 0.0 0.4 4744 1320 ? S 00:33 0:00 /usr/sbin/apache
www-data 2781 0.0 0.4 4744 1368 ? S 00:33 0:00 /usr/sbin/apache
www-data 2787 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2788 0.0 0.4 4744 1340 ? S 00:33 0:00 /usr/sbin/apache
www-data 2825 0.0 0.4 4744 1312 ? S 00:33 0:00 /usr/sbin/apache
www-data 4033 0.0 0.4 4744 1312 ? S 01:06 0:00 /usr/sbin/apache
root 28085 0.0 0.2 2876 764 pts/1 R+ 16:05 0:00 grep apache
debian-famillekerr:/home/victorkerr# ps aux | grep apache
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:07
15 août 2007 à 16:07
n'oublie pas probleme de configuration de apache 2#23
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:09
15 août 2007 à 16:09
OUps j'avais oublier cela:
debian-famillekerr:/home/victorkerr# touch /etc/apache2/httpd.conf && apache2 -Mapache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
debian-famillekerr:/home/victorkerr#
debian-famillekerr:/home/victorkerr# touch /etc/apache2/httpd.conf && apache2 -Mapache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
debian-famillekerr:/home/victorkerr#
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:12
15 août 2007 à 16:12
aptitude install libapache2-mod-php5 /etc/init.d/apache2 stop /etc/init.d/apache2 start apache2 -M
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:18
15 août 2007 à 16:18
bizarre, je ne vois pas le module php
regarde chez moi ce que ça donne
regarde chez moi ce que ça donne
debian:/home/lami20j# apache2 -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) so_module (static) actions_module (shared) alias_module (shared) asis_module (shared) auth_basic_module (shared) auth_digest_module (shared) authn_alias_module (shared) authn_anon_module (shared) authn_dbd_module (shared) authn_dbm_module (shared) authn_default_module (shared) authn_file_module (shared) authnz_ldap_module (shared) authz_dbm_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_owner_module (shared) authz_user_module (shared) autoindex_module (shared) cache_module (shared) cband_module (shared) cern_meta_module (shared) cgi_module (shared) cgid_module (shared) charset_lite_module (shared) dav_module (shared) dav_fs_module (shared) dav_lock_module (shared) dbd_module (shared) deflate_module (shared) dir_module (shared) disk_cache_module (shared) dumpio_module (shared) env_module (shared) expires_module (shared) ext_filter_module (shared) file_cache_module (shared) filter_module (shared) headers_module (shared) ident_module (shared) imagemap_module (shared) include_module (shared) info_module (shared) ldap_module (shared) log_forensic_module (shared) mem_cache_module (shared) mime_module (shared) mime_magic_module (shared) negotiation_module (shared) perl_module (shared) php5_module (shared) proxy_module (shared) proxy_ajp_module (shared) proxy_balancer_module (shared) proxy_connect_module (shared) proxy_ftp_module (shared) proxy_http_module (shared) rewrite_module (shared) setenvif_module (shared) speling_module (shared) ssl_module (shared) status_module (shared) suexec_module (shared) unique_id_module (shared) userdir_module (shared) usertrack_module (shared) version_module (shared) vhost_alias_module (shared) Syntax OK debian:/home/lami20j#
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:24
15 août 2007 à 16:24
et je fais commetn pour le mettre?
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:28
15 août 2007 à 16:28
aptitude reinstall apache2 mysql-server-5.0 php5-mysql libapache2-mod-php5
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:32
15 août 2007 à 16:32
voila c fait
debian-famillekerr:/home/victorkerr# apache2 -M
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
debian-famillekerr:/home/victorkerr#
debian-famillekerr:/home/victorkerr# apache2 -M
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
debian-famillekerr:/home/victorkerr#
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:35
15 août 2007 à 16:35
affiche
rgrep -i loadmodule /etc/apache2/ | grep php
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:39
15 août 2007 à 16:39
debian-famillekerr:/home/victorkerr# rgrep -i loadmodule /etc/apache2/ | grep php
/etc/apache2/mods-available/php5.load:LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
/etc/apache2/mods-available/php4.load:LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
debian-famillekerr:/home/victorkerr# rgrep -i loadmodule /etc/apache2/ | grep php
/etc/apache2/mods-available/php5.load:LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
/etc/apache2/mods-available/php4.load:LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
debian-famillekerr:/home/victorkerr# rgrep -i loadmodule /etc/apache2/ | grep php
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:42
15 août 2007 à 16:42
ça peut être un conflit entre php4 et php5?
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:48
15 août 2007 à 16:48
je newbies alors je ne sais pas comment on resout cela
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 16:52
15 août 2007 à 16:52
aptitude purge libapache2-mod-php4
et redémarre ton apache
/etc/init.d/apache2 restart
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
472
15 août 2007 à 16:52
15 août 2007 à 16:52
Salut,
ça peut être un conflit entre php4 et php5?
je pense à la même chose.
J'ai suivi la discussion et j'ai exactement les mêmes résultats que samhor excepté que je n'ai que php5 !
Mon Apache-PHP-Mysql fonctionnait très bien !
J'ai même réinstaller avec la commande de lami20j :
et cela marche toujours !
:-))
ça peut être un conflit entre php4 et php5?
je pense à la même chose.
J'ai suivi la discussion et j'ai exactement les mêmes résultats que samhor excepté que je n'ai que php5 !
Mon Apache-PHP-Mysql fonctionnait très bien !
J'ai même réinstaller avec la commande de lami20j :
aptitude reinstall apache2 mysql-server-5.0 php5-mysql libapache2-mod-php5
et cela marche toujours !
:-))
1 janv. 2009 à 14:48