[phpinfo]: problem.
Posted: Thu Apr 19, 2007 8:25 am
Hello,
I've installed apache2 and php5, under Debian sarge, as fellows:
After that, I've registred the test.php srcipt in the directory /var/www
But when I do, in command ligne:
I get at the end of the screen:
So, I've edited the /etc/apache2/apache2.conf file and added the ligne:
In sprite of that, I don't abtain the phpinfo page when I type http://debian/test.php ine the address of the firefox, for example.
So, what I must I do to have the phpinfo page ?
Thanks in advence for the help.
I've installed apache2 and php5, under Debian sarge, as fellows:
Code: Select all
# aptitude install apache2 php5 libapache2-mod-php5<?php
//test.php
phpinfo();
?>
But when I do, in command ligne:
Code: Select all
lynx http://debian/test.phpbut not the phpinfo as normal.application /x-httpd-php
D)ownload C)ancel
So, I've edited the /etc/apache2/apache2.conf file and added the ligne:
Code: Select all
AddType application/x-httpd-php .php .incIn sprite of that, I don't abtain the phpinfo page when I type http://debian/test.php ine the address of the firefox, for example.
So, what I must I do to have the phpinfo page ?
Thanks in advence for the help.