php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46405 Allow Side-By-Side Execution
Submitted: 2008-10-27 19:39 UTC Modified: 2008-10-29 09:24 UTC
From: xwisdom at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.3CVS-2008-10-27 (snap) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xwisdom at gmail dot com
New email:
PHP Version: OS:

 

 [2008-10-27 19:39 UTC] xwisdom at gmail dot com
Description:
------------
I would like to recommend that a feature be added to PHP 5.3 or 6.0 that will allow the execution of an application using a different version of the runtime.

This could be done via the php.ini. For example:

[interpreters]
php44 = "c:/php4/php.exe"
php51 = "c:/php51/php-cgi.exe"
php5 = "c:/php52/php-cgi.exe"

[interpreter_mapping]
php44 = "c:/website/oldapps/addressbook/";
php5 = "c:/website/currentapps/crm/";

With the above, the current version of PHP would be the default interpreter. This means that if no mapping was found for the current path then the current interpreters will be used, otherwise system should pass control over to the selected interpreter. 

This technique might be a little slower when passing control from the current to an older interpreter but it gives the user greater flexibility and more time to work with both the new php releases and the older interpreters. Plus it allows applications designed for older versions of php to run side-by-side on same server with no special configuration changes to the server or file settings.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-29 09:24 UTC] lbarnaud@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Your HTTP server can do that (at least Apache can).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 20:01:29 2024 UTC