ClearFoundation Tracker - ClearOS
View Issue Details
0001709ClearOSwebconfig-phppublic2014-05-21 15:402020-09-02 09:42
marclaporte 
 
normalminoralways
closedwon't fix 
 
 
0001709: Feature request: Introduce "Software Collections" to support PHP 5.4 & 5.5
"The goal of SoftwareCollections.org is to promote packaging and distribution of useful open source software outside the standard repositories for Red Hat Enterprise Linux, Fedora, CentOS, and other operating systems that utilize the RPM package format.

As part of this mission, we provide hosting and distribution for Software Collections (SCLs) developed by the community. We do not review source or packages for suitability of purpose, quality, or licensing – but we reserve the right to refuse or delete any packages or source code that does not comply with our policies."
Source: http://www.softwarecollections.org/en/docs/licensing/ [^]

See also:
http://www.softwarecollections.org/en/scls/remi/php55more/ [^]
http://www.softwarecollections.org/en/scls/rhscl/php55/ [^]

Software Collections are interesting for ClearOS in general, and the PHP package could be the reference implementation.

Web Server admin panel should have an interface to indicate which directories and sub-directories (or all) should use PHP 5.4 or PHP 5.5. Perhaps this could be overrideable directory by directory using .htaccess

Similarly, it would be nice to be able to override the Command Line (CLI) version. This is less important though because there is a workaround, as seen below:

# yum --enablerepo=clearos-core install scl-utils
# yum install https://www.softwarecollections.org/en/scls/rhscl/php55/epel-6-x86_64/download/rhscl-php55-epel-6-x86_64-1-2.noarch.rpm [^]
# yum install php55
# scl enable php55 'php -v'
PHP 5.5.6 (cli) (built: Mar 12 2014 14:59:18)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

Related thread:
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,17/func,view/id,61167/ [^]
No tags attached.
child of 0001864closed  Add native support for Software Collections (SCL) in ClearOS 7.x, for better security & innovation 
Issue History
2014-05-21 15:40marclaporteNew Issue
2014-05-22 13:14user2Statusnew => confirmed
2014-05-26 10:07user2Note Added: 0001180
2014-05-26 10:07user2Target Version => 6.6.0
2014-08-16 08:53marclaporteRelationship addedchild of 0001864
2014-08-16 08:55marclaporteNote Added: 0001279
2014-11-07 09:20user2Note Added: 0001311
2014-11-07 09:20user2Product Version6.6.0 Beta 1 =>
2014-11-07 09:20user2Target Version6.6.0 =>
2015-01-03 21:30marclaporteNote Added: 0001329
2020-09-02 09:42NickHNote Added: 0014431
2020-09-02 09:42NickHStatusconfirmed => closed
2020-09-02 09:42NickHResolutionopen => won't fix

Notes
(0001180)
user2   
2014-05-26 10:07   
Target release is 6.6.0, but that's more of a hope than a promise :-)
(0001279)
marclaporte   
2014-08-16 08:55   
For anyone watching: this is now looking more like a ClearOS 7 thing. Sorry for the wait, but it's going to be a fantastic, future-proof and flexible solution.
(0001311)
user2   
2014-11-07 09:20   
As mentioned, this is a ClearOS 7 target now.
(0001329)
marclaporte   
2015-01-03 21:30   
Some developments:
http://blog.famillecollet.com/post/2014/09/01/PHP-5.4-as-Software-Collection [^]
http://blog.famillecollet.com/post/2014/09/03/PHP-5.5-as-Software-Collection [^]
http://blog.famillecollet.com/post/2014/08/25/PHP-5.6-as-Software-Collection [^]

Thanks!
(0014431)
NickH   
2020-09-02 09:42   
v6 issue request. Exists in v7