URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/php-et-apache2 Title: PHP et apache2 Authors: bouno Date: 2005年03月18日T18:45:06+01:00 Tags: debian Score: 0 Bonjour à Tous ; je suis en train de configurer actuellement les virtuals host sur serveur apache2 muni de php sous debian sarge: voici un peu mes fichiers de configuration : -configuration Virtualhost sur beta.org.ml /etc/apache2/sites-available/beta.org.ml NameVirtualHost beta.org.ml:80 <VirtualHost beta.org.ml:80> ServerAdmin webmaster@beta.org.ml ServerName beta.org.ml DocumentRoot /var/www/html/beta/ Options FollowSymLinks AllowOverride None <Directory /var/www/html/beta/> Options Indexes # FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # RedirectMatch ^/$ /apache2-default/ - creation du lien dans apache2 ln -s /etc/apache2/sites-availbe/beta.org.ml /etc/apache2/sites-enable/001-beta.org.ml -Problème avec le navigateur Mozilla Message affiche au lancement de mozilla The file is of type aplication/x-httpd-php, and mozilla does not know how to handle this file type .This file is locate at: [http://beta.org.ml(...)](http://beta.org.ml) - installation des modules php dans /etc/apache2/apache2.conf AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-tar .tgz - lancement des application PHP # apache2ctl start -lancement de apache2 # /etc/init.d/apache2 reload Toujour le même problème avec le navigateur qui n'affiche pas les pages web avec des application php Si quelq'un peu me donner un de main pour regler ce probleme.. Merci à tous ...