Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24971 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54084 invoked by uid 1010); 25 Jul 2006 14:39:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54066 invoked from network); 25 Jul 2006 14:39:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2006 14:39:53 -0000 X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:5069] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 83/04-04178-01826C44 for ; Tue, 25 Jul 2006 10:17:53 -0400 Received: from foxbox (IGLD-80-230-212-175.inter.net.il [80.230.212.175]) by gw2.emini.dk (Postfix) with ESMTP id A6BD1BCBDD; Tue, 25 Jul 2006 16:17:47 +0200 (CEST) Message-ID: <003b01c6aff4$b1ba85b0$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Phil Driscoll" , References: <2a9adcf0607240752k12eb8f32sd753eaadaac6e8cc@mail.gmail.com> <2a9adcf0607241018o3afce85dk28b3fa794a2442fd@mail.gmail.com> <06c801c6af4a$442c1c20$6602a8c0@foxbox> <200607250940.10277.phil@dialsolutions.co.uk> Date: Tue, 25 Jul 2006 16:14:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] New Installer for PHP 5.2 From: steph@zend.com ("Steph Fox") > On Monday 24 July 2006 18:54, Steph Fox wrote: >> httpd.conf's weird? It's only a text file :) the complication's in the >> fact >> that there's more than one way to set it up. But you could offer >> automated >> basic CGI setups pretty easily using the paths you've already been given >> for php.exe and php.ini, and the module setup actually isn't that >> complicated either, assuming you already know it's an apache module setup >> that's required. > > The problem (and the thing which put me off tackling this on the current > windows installer) is that there are so many ways that a use could have > already set up their httpd.conf (with regard to global and vhost > configurations, whether httpd.conf does all the config, or there are > include > files and .htaccess files doing things), the installer would need to more > or > less fully understand apache configuration rules to be able to (a) make > sure > that php was working at the end of the install, and (b) nothing else was > broken. It would also probably need a massive user interface in order to > deal > with the many decisions which would need to be made in order to work out > precisely what to do. I think you're trying to do too much there. The Apache installer already has an interface for this - and it very simply opens up the httpd.conf for editing! I was just thinking of the three lines in httpd.conf that are specific to the php.exe or .dll currently being installed - including the one that makes index.php work. If a user already has PHP support in their Apache install they should be able to skip it, but if they don't it'd be good to press a button during PHP install and have Apache 'know' about PHP CGI or module. > > Can anyone think of a slick way of dealing with this (and ideally one > which > can be implemented from within Wix? > -- > Phil Driscoll > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > __________ NOD32 1.1380 (20060125) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > >