php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32566 Can PHP5RC be added for PHP5-only?
Submitted: 2005-04-04 15:13 UTC Modified: 2015-01-08 23:33 UTC
From: ceefour at gauldong dot net Assigned: ajf (profile)
Status: Closed Package: *General Issues
PHP Version: 5.0.4 OS: All
Private report: No CVE-ID: None
 [2005-04-04 15:13 UTC] ceefour at gauldong dot net
Description:
------------
I'm running several web sites in a shared hosting that has dual version of PHP installed, PHP 4.3.10 (webhoster's) and 5.0.4 (compiled & installed manually). Everytime I update PHP I have to patch src/php_ini.c so it looks up PHP5RC instead of PHPRC, because PHPRC is already used by the PHP 4 installation for PHP 4 configuration file, and I want to use another configuration file for the PHP 5 installation.

Is it possible to add a new behavior to PHP 5 so it'll first look for PHP5RC, if it's not there then it'll use PHPRC, or any other configuration file paths accepted.

It will have minimal impact on any PHP installation because nobody should ever have used PHP5RC for any other purpose. And anyone with similar situations like I do can use the new environment variable to help in dual PHP installations (not everyone can afford the luxury of controlling their own webservers).

Reproduce code:
---------------
none

Expected result:
----------------
none

Actual result:
--------------
none

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-10 14:21 UTC] narf at devilix dot net
It's been a looong time since this has been relevant.
 [2015-01-08 23:33 UTC] ajf@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: ajf
 [2015-01-08 23:33 UTC] ajf@php.net
Assuming narf is right, closing this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Aug 14 00:01:28 2024 UTC