PHP in Debian
Hello,
I installed Debian with Apache and PHP. I started configuring.
In httpd.conf file I entered changes:
LoadModule php5_module modules/libphp5.so
<IfModule mod_mime.c>
...
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
...
</IfModule>
In diectory /var/www I created simple file phpinfo.php:
<?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/
|