PHP in Debian
am 18.04.2008 11:29:32 von r_ahimsa_mHello,
I installed Debian with Apache and PHP. I started configuring.
In httpd.conf file I entered changes:
LoadModule php5_module modules/libphp5.so
...
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
...
In diectory /var/www I created simple file phpinfo.php:
phpinfo();
?>
Then I rebooted my computer.
The problem is that when I am trying to open phpinfo.php in browser using:
localhost/phpinfo.php
then instead of result of phpinfo() I have file download popup window.
I have veryfied: The processes for apache are running.
I configured LAMP in Fedora Linux and that time I had no problems.
Please help!
/RAM/