This is a discussion on PHP in Debian within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I installed Debian with Apache and PHP. I started configuring. In httpd.conf file I entered changes: LoadModule php5_module ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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/ |
|
|||
|
Dnia Fri, 18 Apr 2008 11:46:13 +0200, Davide Bianchi napisaĆ(a):
> Why the 'ifmodule' ? I httpd.conf I had section <IfModule mod_mime.c> ... </IfModule> with a list of AddType lines. So I added these two lines into the section: AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps /RAM/ |
| Thread Tools | |
| Display Modes | |
|
|