Changes

From SME Server
Jump to navigationJump to search
2,582 bytes added ,  19:00, 22 February 2015
Created page with "{{Languages}} {{Level|Easy|The instructions for installing and using Roundcube can be followed by a beginner, changing options requires a basic knowledge of linux.}} {{usefuln..."
{{Languages}}
{{Level|Easy|The instructions for installing and using Roundcube can be followed by a beginner, changing options requires a basic knowledge of linux.}}
{{usefulnote}}
== PHP Software Collections for SME Server ==

=== Maintainer ===
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
=== Version ===
{{ #smeversion: smeserver-php-scl }}

=== Description ===
The purpose of the contribs is to install PHP54,PHP55,PHP56 beside the default php without remove it. We take rpms from the [[remi]] repository but in fact it is the same than the [https://www.softwarecollections.org/en/ official web site], except than you will have more choices.


=== Requirements ===
{{Warning box|'''Only for SME Server 9 64 bit'''}}

=== Installation ===
Remember to first configure the required [[stephdl]] and the [[remi]] repositorie, then issue the following command on the SME Server shell:

db yum_repositories set stephdl repository \
BaseURL http://mirror.de-labrusse.fr/smeserver/\$releasever \
EnableGroups no GPGCheck yes \
Name "Mirror de Labrusse" \
GPGKey http://mirror.de-labrusse.fr/RPM-GPG-KEY \
Visible yes status disabled

/sbin/e-smith/db yum_repositories set remi repository \
Name 'Remi - EL6' \
BaseURL 'http://rpms.famillecollet.com/enterprise/6/remi/$basearch/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://rpms.famillecollet.com/RPM-GPG-KEY-remi \
Visible yes \
Exclude mysql*,php-* \
status disabled

signal-event yum-modify

yum install smeserver-php-scl --enablerepo=stephdl,remi

If you do not want to restart your server
signal-event php-update; config set UnsavedChanges no
or
signal-event post-upgrade; signal-event reboot

Go to the php-scl panel on Server Manager and activate the version of php you desire for each Ibay, or if you need for the whole server.

{{Note Box|Now when you want a specific rpm, you have to install it from the 'remi' repository. The name start by php54-php or php55-php or php56-php}}

If you want to see rpm availables

yum list available php5\* --disablerepo=* --enablerepo=remi
=== Uninstall ===
yum remove smeserver-php-scl

=== Bugs ===
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
and select the smeserver-php-scl component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-php-scl|title=this link}}.

{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc |component=smeserver-php-scl|noresultsmessage="No open bugs found."}}


[[Category: Contrib]]

Navigation menu