Re: can't serve php files in apache2

2010-11-12 Thread Bob Proulx
Zachary Uram wrote: > emmanuel segura wrote: > > if using apache2 look in -l /etc/apache2/mod-enable/*.conf > > Adding "AddType application/x-httpd-php .php" to > /etc/apache2/mods-available/php5.conf and restarting apache2 worked! > Thanks :) You shouldn't have needed to add it since the default

Re: can't serve php files in apache2

2010-11-12 Thread Bob Proulx
Zachary Uram wrote: > 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 "" > However when I go to http://myserver.org/info.php it prompts me to > download the PHP file instead of executing it and dis

Re: can't serve php files in apache2

2010-11-12 Thread Zachary Uram
On Fri, Nov 12, 2010 at 8:02 AM, emmanuel segura wrote: > if using apache2 look in -l /etc/apache2/mod-enable/*.conf Adding "AddType application/x-httpd-php .php" to /etc/apache2/mods-available/php5.conf and restarting apache2 worked! Thanks :) Zach -- To UNSUBSCRIBE, email to debian-user-req

Re: can't serve php files in apache2

2010-11-12 Thread emmanuel segura
if using apache2 look in -l /etc/apache2/mod-enable/*.conf 2010/11/12 Zachary Uram : > On Fri, Nov 12, 2010 at 7:13 AM, emmanuel segura wrote: >> AddType application/x-httpd-php .php > > To which file do I add this? > > Zach > -- esta es mi vida e me la vivo hasta que dios quiera -- To UNS

Re: can't serve php files in apache2

2010-11-12 Thread Zachary Uram
On Fri, Nov 12, 2010 at 7:13 AM, emmanuel segura wrote: > AddType application/x-httpd-php .php To which file do I add this? Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lis

Re: can't serve php files in apache2

2010-11-12 Thread emmanuel segura
AddType application/x-httpd-php .php 2010/11/12 Zachary Uram : > 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 "" > However when I go to http://myserver.org/info.php it prompts me to > download

can't serve php files in apache2

2010-11-12 Thread Zachary Uram
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 "" 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