Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21246 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45872 invoked by uid 1010); 16 Dec 2005 13:39:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45852 invoked from network); 16 Dec 2005 13:39:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2005 13:39:29 -0000 X-Host-Fingerprint: 195.197.172.116 gw02.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.116:50465] helo=gw02.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FD/93-14561-093C2A34 for ; Fri, 16 Dec 2005 08:39:28 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 29EABDBFD0; Fri, 16 Dec 2005 15:39:23 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id jBGDdOmf022690; Fri, 16 Dec 2005 15:39:24 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id jBGDdNn6022687; Fri, 16 Dec 2005 15:39:24 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Fri, 16 Dec 2005 15:39:23 +0200 (EET) Reply-To: Jani Taskinen To: techtonik cc: internals@lists.php.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] RFE for future Apache integration From: sniper@iki.fi (Jani Taskinen) To reliably run 2 PHP version, use separate apache instances. And --enable-versioning itself breaks a lot of stuff. Short version: It's not worth it to try "fix" this. Very short version: "Wont fix" --Jani On Fri, 16 Dec 2005, techtonik wrote: > > Hello, PHP. > > While it is not too late, cat I ask for one enhancement for PHP6 > integration with Apache2, which was omitten in PHP5 architecture. > > Use the same Apache server instance with PHP4 and PHP5 modules. > It is ok to link modules with > > LoadModule php4_module "../php4/sapi/php4apache2.dll" > LoadModule php5_module "../php5/php5apache2.dll" > > It is ok to add server type for them in different VirtualHosts > > .... > AddType php5-script .php > > > .... > AddType application/x-httpd-php .php > > > Problem no.1: > Even though php5-script works to make server call PHP5 handler instead > of PHP4 error_log is full of srings like > [Thu Dec 15 16:43:29 2005] [warn] Cannot get media type from 'php5-script' > > Problem no.2: > It is impossible to specify php.ini for each module separately - > PHPIniDir is used by both PHP5 and by PHP4 and you can't specify more > than one PHPIniDir per configuration file. SetEnv PHPRC doesn't work > in this case too. > > Problem no.3: > It is impossible to specify exact php.ini file, which may not be > called php.ini, but something like php4.ini or php_old.ini > > Problem no.4: > Ability to change php.ini depending on user needs on shared hostings > without new instance of Apache. > > I guess the solution to all the problems except 4 is not so hard, but > for the future IMHO it worth to add it into your global tracker. > Useful instrument while working on problem no.4 would be tool to parse > and compare differences in configuration among users and group them > accordingly. > > Thanks. > > -- > --t. > > -- Give me your money at @ Donating money may make me happier and friendlier for a limited period! Death to all 4 letter abbreviations starting with P!