[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't serve php files in apache2



AddType application/x-httpd-php .php

2010/11/12 Zachary Uram <netrek@gmail.com>:
> Running Debian testing, I installed libapache2-mod-php5, php5,
> php5-common, php5-cgi, php-pear and created a test file "info.php"
> which is 1 line "<?php phpinfo(); ?>"
> However when I go to http://myserver.org/info.php it prompts me to
> download the PHP file instead of executing it and displaying the
> result. I've tried with firefox and IE and get the same result. Any
> idea how to get this working?
>
> Zach
>
> <>< http://www.fidei.org ><>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] AANLkTinqEoFzZTc0X+CygQWK14veMYc2DD_wqQYScj7N@mail.gmail.com">http://lists.debian.org/[🔎] AANLkTinqEoFzZTc0X+CygQWK14veMYc2DD_wqQYScj7N@mail.gmail.com
>
>



-- 
esta es mi vida e me la vivo hasta que dios quiera


Reply to: