Re: having trouble setting up php for apache2

2007-05-21 Thread Steve Holdoway
On Sun, 20 May 2007 21:53:08 +1200 Jim Cheetham <[EMAIL PROTECTED]> wrote: [snip] > Basically, in the real world, "fast patching" is not a panacea. > > -jim Sure, but I said that you need the ability to patch immediately if necessary, which does not mean indescriminately, or without your own exa

Re: having trouble setting up php for apache2

2007-05-20 Thread Jim Cheetham
On 20/05/07, Steve Holdoway <[EMAIL PROTECTED]> wrote: FYI is is imperative, in a production environment, that you build your web (and mail, and anything else that's regularly attacked) servers from source, along with any server side scripting languages you wish to support. This is because you

Re: having trouble setting up php for apache2

2007-05-20 Thread Nick Rout
Steve Holdoway wrote: And, even if you're just a hoppyist, it's a clean and harmless way of passing the time. That reminds me you old hoppyist, I owe you a beer :-)

Re: having trouble setting up php for apache2

2007-05-20 Thread Steve Holdoway
On Sun, 20 May 2007 20:15:35 +1200 Michael <[EMAIL PROTECTED]> wrote: [snip] > A tiny amount of googling/research would have told you that the config > file changed drastically when version 2 was released. I suspect that > this is one of the most significant reasons that version 2 hasn't been >

Re: having trouble setting up php for apache2

2007-05-20 Thread Michael
Nick Rout wrote: Rohit Grover wrote: Thanks to all, I built php from source and dropped the config lines in httpd.conf (from Steve's email) and it all works. I wonder why the APT packages didn't work for me. regards, Rohit. Quite likely because, as I said, you weren't starting apache proper

Re: having trouble setting up php for apache2

2007-05-20 Thread Nick Rout
Rohit Grover wrote: Thanks to all, I built php from source and dropped the config lines in httpd.conf (from Steve's email) and it all works. I wonder why the APT packages didn't work for me. regards, Rohit. Quite likely because, as I said, you weren't starting apache properly.

Re: having trouble setting up php for apache2

2007-05-19 Thread Rohit Grover
Thanks to all, I built php from source and dropped the config lines in httpd.conf (from Steve's email) and it all works. I wonder why the APT packages didn't work for me. regards, Rohit. On 5/20/07, Steve Holdoway <[EMAIL PROTECTED]> wrote: On Sun, 20 May 2007 16:08:39 +1200 Rohit Grover <[EMA

Re: having trouble setting up php for apache2

2007-05-19 Thread Steve Holdoway
On Sun, 20 May 2007 16:08:39 +1200 Rohit Grover <[EMAIL PROTECTED]> wrote: > A list of problems I'm facing: > > 1. I discovered 'apt-get --reinstall' from the APT howto and tried > reinstalling apache2. However, starting httpd with apache2ctl gave me > the following > > (98)Address already in us

Re: having trouble setting up php for apache2

2007-05-19 Thread Nick Rout
On Sun, May 20, 2007 3:03 pm, Rohit Grover wrote: > Hi All, > > I have recently installed Ubuntu 7.04 (desktop) on a machine and am > trying to set it up as a webserver. I need to enable PHP support for > apache (currently my apache simply returns the code for html-php > without interpreting them)

Re: having trouble setting up php for apache2

2007-05-19 Thread Rohit Grover
A list of problems I'm facing: 1. I discovered 'apt-get --reinstall' from the APT howto and tried reinstalling apache2. However, starting httpd with apache2ctl gave me the following (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutti

Re: having trouble setting up php for apache2

2007-05-19 Thread Steve Holdoway
libapache2-mod-php5 Do an apt-cache search libapache2 for a list of all the precompiled modules for apache. Alternatively, you can build from scratch - not that I recommend it. Steve On Sun, 20 May 2007 15:03:51 +1200 Rohit Grover <[EMAIL PROTECTED]> wrote: > Hi All, > > I have recently inst

having trouble setting up php for apache2

2007-05-19 Thread Rohit Grover
Hi All, I have recently installed Ubuntu 7.04 (desktop) on a machine and am trying to set it up as a webserver. I need to enable PHP support for apache (currently my apache simply returns the code for html-php without interpreting them). I am new to APT and can't figure out which packages I need