Line 18:
Line 18:
=== Installation ===
=== Installation ===
−
{{Note box|Please be aware that currently there is a broken dependency which has to be resolved manually. Please see details here: https://forums.contribs.org/index.php/topic,52689.msg272168.html#msg272168}}
−
Remember to first configure the required [[remi]] and the [[epel]] repositories, then issue the following command on the SME Server shell:
−
/sbin/e-smith/db yum_repositories set remi repository \
+
===Base installation===
−
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-*,phpMyAdmin \
−
status disabled
+
the minimal installation can simply be done doing :
+
yum install smeserver-php-scl --enablerepo=smecontribs
+
+
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.
+
+
if you need additional php packages consider advanced install
+
+
===Advanced installation===
+
+
Remember to first configure the required [[remi-safe]] repositorie, then issue the following command on the SME Server shell:
+
{{:Remi-safe}}
+
+
you might also need [[epel]] repositorie, then issue the following command on the SME Server shell:
+
+
{{:epel|transcludesection=generic}}
+
+
then you need to issue this command before installing:
signal-event yum-modify
signal-event yum-modify
+
+
Then Issue the command line :
+
+
yum install smeserver-php-scl {add here the rpm you also need} --enablerepo=smecontribs,epel
+
+
As an example you might need the following components of php : php56-php-pecl-rar php56-php-libvirt php56-php-magickwand
+
+
yum install smeserver-php-scl php56-php-pecl-rar php56-php-libvirt php56-php-magickwand --enablerepo=smecontribs,epel
+
−
−
Then Issue the command line
−
yum install smeserver-php-scl --enablerepo=smecontribs,remi,epel
If you do not want to restart your server
If you do not want to restart your server