I have just installed the last version of debian (the 4.0), and just after, I have installed apache2, php5 and mysql-server, as fellows:
Insatllation of apache2:
Code: Select all
#aptitude update
#aptitude install apache2Installation of php5(and the library gd):
Code: Select all
#aptitude install php5 php5-gdAnd the mysql-server:
Code: Select all
#aptitude install mysql-serverAll those installations finished with succes, but when I try a phpinfo() script like this:
<?php
// test.php
phpinfo();
?>
and when I do an http://localhost/test.php, in mozilla adress, I don't get the phpinfo page, as I want but a the last script phpinfo(test.php).
So, my question is:
Which code(s) must I add to the file /etc/apache2/apache2.conf so as I can get the famous phpinfo page ?
Thanks in advance for the help.