Re: [gentoo-user] Setting up a local web server

2011-04-04 Thread Peter Humphrey
On Monday 04 April 2011 10:17:34 Joost Roeleveld wrote: > On Friday 01 April 2011 21:56:47 Peter Humphrey wrote: > > This is connected with the other thread I've written to today, about > > using my workstation as an emerge server. A complication I didn't > > mention there is that both make.conf a

Re: [gentoo-user] Setting up a local web server

2011-04-04 Thread Joost Roeleveld
On Friday 01 April 2011 21:56:47 Peter Humphrey wrote: > On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote: > > I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5" > > > > you should try at least language and php5 ! > > That missing 5 is important - thanks. > > Then, however,

Re: [gentoo-user] Setting up a local web server

2011-04-02 Thread Todd Goodman
* Adam Carter [110402 01:15]: > > dig you build php with an apache2 flag to enable the Apache module? > > > > And you'll also need this in your httpd.conf; > > AddType application/x-httpd-php .php 70_mod_php5.conf in /etc/apache2/modules.d adds the handler for that automatically when PHP5 is de

Re: [gentoo-user] Setting up a local web server

2011-04-02 Thread Neil Bothwick
On Fri, 01 Apr 2011 16:03:10 -0700, kashani wrote: > > * apache2 has detected an error in your setup: > > apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax > > error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot > > load /usr/lib/apache2/modules/libphp5.so into

Re: [gentoo-user] Setting up a local web server

2011-04-01 Thread Adam Carter
> dig you build php with an apache2 flag to enable the Apache module? > And you'll also need this in your httpd.conf; AddType application/x-httpd-php .php

Re: [gentoo-user] Setting up a local web server

2011-04-01 Thread kashani
On 4/1/2011 12:56 PM, Peter Humphrey wrote: On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote: I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5" you should try at least language and php5 ! That missing 5 is important - thanks. Then, however, I got this: * apache2 ha

Re: [gentoo-user] Setting up a local web server

2011-04-01 Thread Peter Humphrey
On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote: > I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5" > > you should try at least language and php5 ! That missing 5 is important - thanks. Then, however, I got this: * apache2 has detected an error in your setup: apache2:

Re: [gentoo-user] Setting up a local web server

2011-04-01 Thread Stéphane Guedon
On Friday 01 April 2011 13:57:49 Peter Humphrey wrote: > Hello list, > > I want a box on my LAN to be a local web and database server. I've > installed Apache, MySQL, PHP and phpmyadmin and I'm about to get > phpmyadmin going. The problem is that Apache is displaying the contents of > php files in

[gentoo-user] Setting up a local web server

2011-04-01 Thread Peter Humphrey
Hello list, I want a box on my LAN to be a local web and database server. I've installed Apache, MySQL, PHP and phpmyadmin and I'm about to get phpmyadmin going. The problem is that Apache is displaying the contents of php files instead of interpreting them. What have I missed? I have USE="apa