From:             ceefour at gauldong dot net
Operating system: All
PHP version:      5.0.4
PHP Bug Type:     Feature/Change Request
Bug description:  Can PHP5RC be added for PHP5-only?

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

-- 
Edit bug report at http://bugs.php.net/?id=32566&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32566&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32566&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32566&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32566&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32566&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32566&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32566&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32566&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32566&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32566&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32566&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32566&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32566&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32566&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32566&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32566&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32566&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32566&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32566&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32566&r=mysqlcfg

Reply via email to