Something new to play.
The contrib allows two different things : ONLY for SME9_64bit
- Choose the php version you want per Ibay
- Choose the php version for the whole server.
Of course since it is Christmas
- you can choose between php54,php55,php56
- You have a panel for the Ibay settings
- You don't modify your server since all is based on the php scl collection of remi
From what I have tested, it is workable, except that our venerable Horde doesn't like recent version of PHP, you will have a lot of warnings in logs. But any other Webbapp I have tested are fine (I tested sogo and owncloud)
/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
After adding it to the database updating the configuration file is required:
signal-event yum-modify
then install the contrib
wget http://mirror.de-labrusse.fr/Sme-Server/smeserver-php-scl/smeserver-php-scl-0.4-1.el6.sme.x86_64.rpm
yum install smeserver-php-scl-0.4-1.el6.sme.x86_64.rpm --enablerepo=remi
signal-event php-update
For ibay you can use the panel, but if you want to set the php version for the whole server, you have to use the command line, first see the new db entries
[root@sme9b3dev64 ~]# config show php54
php54=configuration
AllowUrlFopen=Off
MaxExecutionTime=30
MaxFileUpload=20
MaxInputTime=60
MemoryLimit=128M
PhpModule=disabled
PostMaxSize=20M
UploadMaxFilesize=10M
[root@sme9b3dev64 ~]# config show php55
php55=configuration
AllowUrlFopen=Off
MaxExecutionTime=30
MaxFileUpload=20
MaxInputTime=60
MemoryLimit=128M
PhpModule=disabled
PostMaxSize=20M
UploadMaxFilesize=10M
[root@sme9b3dev64 ~]# config show php56
php56=configuration
AllowUrlFopen=Off
MaxExecutionTime=30
MaxFileUpload=20
MaxInputTime=60
MemoryLimit=128M
PhpModule=disabled
PostMaxSize=20M
UploadMaxFilesize=10M
in fact you have to choose which version you want to use in the phpmod of apache, for example
config setprop php56 PhpModule enabled
signal-event php-update
Since just one version can be used with php-mod, the lower version is used. After that if you need to install rpm for php needs, you have to install them from the remi repository and you have a lot of rpm. It starts by php54-php-xxx, something following the SCL php version.