Re: [gentoo-user] My PHP support is gone!

2005-05-23 Thread Tim Igoe
Just a check here, you've not been through the apache upgrade have you
and this the first time its moved to the new settings? (the newer
version with the changed config location) - I can't just remmeber which
version it is now that it was done on.

But having restarted it, it would now be using the `default' config again.

/etc/apache2/httpd.conf is now the main configuration file now.

Tim

Michael Sullivan wrote:
 Last night we had a power blink here (basically the power goes off just
 long enough to disrupt all devices plugged into AC and then comes back
 on again.)  When my server box finished rebooting I was checking the
 most popular services it offers (mail and web hosting) and I noticed
 that squirrelmail and all other pages that use PHP were not working
 correctly.  I've tried everything I can think of; I restored a complete
 backup of /etc made yesterday, I re-emerged mod_php.  The installation
 instructions didn't look very much like my previous installation
 (especially in /etc/apache2/conf/apache2.conf) yet the previous
 installation worked fine until yesterday.  In the INSTALL file for
 mod_php-4.3.11 it said to add a LoadModule php4_module to my
 apache2.conf file (there was no reference to php at all in apache2.conf
 - still trying to figure that one out) and then to add an AddModule
 statement, which there was were no occurrences of AddModule in
 apache2.conf either.  I'm very confused.  Can anyone help me?
 

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] My PHP support is gone!

2005-05-23 Thread Michael Sullivan
I don't have an httpd.conf in /etc/apache2:

[EMAIL PROTECTED] michael $ ls /etc/apache2
apache2-builtin-mods  conf



On Mon, 2005-05-23 at 13:45 +0100, Tim Igoe wrote:
 Just a check here, you've not been through the apache upgrade have you
 and this the first time its moved to the new settings? (the newer
 version with the changed config location) - I can't just remmeber which
 version it is now that it was done on.
 
 But having restarted it, it would now be using the `default' config again.
 
 /etc/apache2/httpd.conf is now the main configuration file now.
 
 Tim
 
 Michael Sullivan wrote:
  Last night we had a power blink here (basically the power goes off just
  long enough to disrupt all devices plugged into AC and then comes back
  on again.)  When my server box finished rebooting I was checking the
  most popular services it offers (mail and web hosting) and I noticed
  that squirrelmail and all other pages that use PHP were not working
  correctly.  I've tried everything I can think of; I restored a complete
  backup of /etc made yesterday, I re-emerged mod_php.  The installation
  instructions didn't look very much like my previous installation
  (especially in /etc/apache2/conf/apache2.conf) yet the previous
  installation worked fine until yesterday.  In the INSTALL file for
  mod_php-4.3.11 it said to add a LoadModule php4_module to my
  apache2.conf file (there was no reference to php at all in apache2.conf
  - still trying to figure that one out) and then to add an AddModule
  statement, which there was were no occurrences of AddModule in
  apache2.conf either.  I'm very confused.  Can anyone help me?
  
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My PHP support is gone!

2005-05-23 Thread Dennis Freise
Michael Sullivan schrieb:
 I don't have an httpd.conf in /etc/apache2:
 
 [EMAIL PROTECTED] michael $ ls /etc/apache2
 apache2-builtin-mods  conf

[snip]

installation worked fine until yesterday.  In the INSTALL file for
mod_php-4.3.11 it said to add a LoadModule php4_module to my
apache2.conf file (there was no reference to php at all in apache2.conf
- still trying to figure that one out) and then to add an AddModule
statement, which there was were no occurrences of AddModule in
apache2.conf either.  I'm very confused.  Can anyone help me?

You should

1. reemerge apache to get the config-file
2. use /etc/conf.d/apache2 and there edit the following line:

APACHE2_OPTS=-D something_default

to

APACHE2_OPTS=-D PHP4

Don't edit httpd.conf directly, that's what the modules.d directory of
the apache config is for...

HTH

Greetings,
-- 
Dennis Freise [EMAIL PROTECTED]
GnuPG key: 2DE8 CCEF 6E20 11D4 3B27  21EC B0BA 1749 D2C8 38ED
Available at: http://www.final-frontier.ath.cx/?key-plain


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] My PHP support is gone! [SOLVED]

2005-05-23 Thread Scott Becker

Michael Sullivan wrote:


Thank you for your help!  Most of the websites on my server (including
squirrelmail where most members get their email) uses PHP.  I was
getting stressed out over it
-Michael Sullivan-

 



Since you have users depending on the system I would highly recommend a 
decent UPS. I use this model:

http://www.provantage.com/buy-7trpl1cm-smartpro-750va-usb-int-ups-120v-6-outlet-tel-10bt-200k-ins-tripp-lite-smart750usb-shopping.htm


   scottb


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My PHP support is gone! [SOLVED]

2005-05-23 Thread Matan Peled
Scott Becker wrote:
 http://www.provantage.com/buy-7trpl1cm-smartpro-750va-usb-int-ups-120v-6-outlet-tel-10bt-200k-ins-tripp-lite-smart750usb-shopping.htm

Damn, thats a long file name...

-- 
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred



signature.asc
Description: OpenPGP digital signature