for sme9 to upgrade php i have something that needs to be tested a bit more but it works...Of course all that is easy to do but experimental
we add some repositories
Remi - EL6
/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 no \
Exclude php-horde-horde \
status disabled
Remi-php55_EL6
only for sme9
/sbin/e-smith/db yum_repositories set remi-php55 repository \
Name 'Remi-php55 - EL6' \
BaseURL 'http://rpms.famillecollet.com/enterprise/6/php55/$basearch/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://rpms.famillecollet.com/RPM-GPG-KEY-remi \
Visible no \
Exclude php-horde-horde \
status disabled
EPEL For SME 9.x,
/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL6' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled
After adding it to the database updating the configuration file is required:
signal-event yum-modify
then after that we need to upgrade php from remi and epel
yum --enablerepo=remi-php55,remi,epel update php\*
the only issue i have is an obsolete option given in the php.ini, but it is just as a log noise, that needs more search on how to avoid it (eg a custom template)
###ERROR####
Directive 'allow_call_time_pass_reference' is no longer available in PHP at Unknown#0
it is something well known about php upgrade of php53
after that the contribs of smeserver-phpmyadmin is broken because phpMyAdmin3 needs php53 as dependency but we can install phpMyAdmin (4.1.14) from 'remi'. However we need to install a modified smeserver-phpmyadmin which comes from 'stephdl_repo'
we add stephdl repo
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
signal-event yum-modify
Now we install phpmyadmin
yum install --enablerepo=stephdl,remi,remi-php55 smeserver-phpmyadmin phpMyAdmin
signal-event post-upgrade ;signal-event reboot
I'm able to add a database in order to install owncloud, no errors in logs....but the issue I can see with this method is the large number of packages that we need to install from exterior repositories. When you will want to upgrade you have to use this command line with names of packages else you can have unwanted upgrade like mysql.
yum update --enablerepo=stephdl,remi,remi-php55,epel smeserver-phpmyadmin phpMyAdmin php\*
The solution I could see will be to import all these packages in a repository but it could be hard to maintain.