Bug #50583 [Opn->Asn]: PHP Installer needs to support side by side installlation
| From: | jmertic@php.net | Date: | Thu, 25 Mar 2010 17:53:48 +0000 |
| Subject: | Bug #50583 [Opn->Asn]: PHP Installer needs to support side by side installlation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149016@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=50583&edit=1
ID: 50583
Updated by: jmertic@php.net
Reported by: ksingla at microsoft dot com
Summary: PHP Installer needs to support side by side
installlation
-Status: Open
+Status: Assigned
Type: Bug
Package: Windows Installer
Operating System: Windows
PHP Version: 5.3.1
-Assigned To:
+Assigned To: jmertic
New Comment:
Currently assessing whether we can do this across all SAPIs or not.
Previous Comments:
------------------------------------------------------------------------
[2010-01-21 21:21:15] ruslany at microsoft dot com
In addition to that it would be nice if PHP installer allowed user to
choose whether to upgrade an existing PHP installation or install a new
version side by side. For example, on the very first page of the
installer there can be options presented:
1. Upgrade existing installation
2. Install side-by-side and make this a default version
3. Install side-by-side but keep existing version as a default.
In case of installing on IIS that would mean:
In #1 the installer will upgrade the PHP installation as it does today.
In #2 the installer will install binaries into a new folder and then
configure FastCGI handler mapping on a server level and make it the top
in the handler mapping list so that it is used by all sites.
In #3 the installer will install binaries into a new folder, configure
FastCGI handler mapping, but will not re-order the existing FastCGI
handler mapping so that previosly installed PHP vesion is still used.
------------------------------------------------------------------------
[2009-12-26 23:28:17] ksingla at microsoft dot com
Description:
------------
In order to support side-by-side installation of PHP 5.2 and 5.3 by
Microsoft Web Platform Installer, PHP installer needs to support side by
side setup. To get to a version specific installation, I think following
changes will be required
a. Currently, PHP is installed to %PROGRAMFILES(X86)%\PHP or
%PROGRAMFILES%\PHP. This should change to
%PROGRAMFILES(X86)%\PHP\<version> or %PROGRAMFILES%\PHP\<version>
b. Currently PHP sets the following registry keys:
i. HKLM\SOFTWARE\Wow6432Node\PHP on 64-bit systems.
ii. HKLM\SOFTWARE\PHP on 32-bit systemsc.
Change the registry keys to:
i. HKLM\SOFTWARE\Wow6432Node\PHP\<version> on 64-bit systems.
ii. HKLM\SOFTWARE\PHP on 32-bit systems\<version>d. Set an
environment variable called PHPLOC with the path to the latest installed
PHP
c. When IIS-FastCGI install is selected, installer should let users add
the PHP handler at site or application level as well so that a
particular PHP version can be used for that site or application.
Currently the handler is always added at the server level.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=50583&edit=1