Re: Seeking feedback on QA tool: phpflip

From: Date: Sun, 18 Sep 2005 21:54:55 +0000
Subject: Re: Seeking feedback on QA tool: phpflip
References: 1 2  Groups: php.pear.qa php.pear.qa 
Request: Send a blank email to pear-qa+get-3043@lists.php.net to get a copy of this message
Clay Loveless wrote:
Arnaud Limbourg (arnaud@limbourg.com) wrote:
It's good, it sure can be useful to the QA effort.
Thank you -- I'm glad to hear that others will find it useful.
Suggestions: - when detecting a possible OS vendor distribution it would be nice to ask confirmation from the user
That's an interesting idea -- what would you want to confirm? It seems like it's always a good idea to back up whatever non-symlink is found in the locations being manipulated by the script.
- you could edit the httpd.conf file piping it through sed to activate php 4 or php 5
I thought a little about that, and after hunting around I couldn't find a reliable way to detect Apache 1.x from Apache 2.x -- I'd like to use something like: LoadModule php4_module libexec/httpd/libphp4.so <IfDefine !APACHE2>
    AddModule mod_php4.c
</IfDefine> ... But it doesn't seem that the APACHE2 constant is always defined. I haven't tested that, however, so I'm not 100% positive.
What about detecting for other AddModule's in the current config? :) - Davey

« previous php.pear.qa (#3043) next »