Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

078274121, info0a ip, should prodicers of software_based services be held liable or not liable for economic injuries, should producers of soft ware based services such as ATMs be held liable for economic injuries suffered when their systems fail?, nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry

Links

XODOX
Impressum

#1: PHP in Debian

Posted on 2008-04-18 11:29:32 by r_ahimsa_m

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/

Report this message

#2: Re: PHP in Debian

Posted on 2008-04-18 11:46:13 by unknown

Post removed (X-No-Archive: yes)

Report this message

#3: Re: PHP in Debian

Posted on 2008-04-18 12:15:15 by r_ahimsa_m

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/

Report this message

#4: Re: PHP in Debian

Posted on 2008-04-18 12:29:38 by unknown

Post removed (X-No-Archive: yes)

Report this message