We’ve some troubles with setting up a webserver for our Website using Joomla.
What I tried so far: NS6.8 with the wonderful guide ( HowTo install Joomla on NethServer ), worked until I tried to install Joomla 3.6- which unfurtunally needs php 5.3.10, but NS6 only has ver. 5.3.3.
So I tried NS7rc3, which has the right php version, but not webfolders.
Any suggestions? I’d be grateful for help.
PS- I liked the NS6 Toutorial very much, so I would prefer updating the php if possible, off course without braking NS.
You can make use of SCL (Software Collections). @stephdl did a php-scl package for NethServer.
@stephdl, any remarks on its installation/usage?
Well for now you cannot install nethserver-php-scl following the link you gave, you need to use my repository, and of course I missed to write down the doku page
But after that I would know why you don’t want to go with NS7, sure there is no more the shared folder, but you have the virtualhost solution (instead of http://yourIP/joomla, you have http://jooomla.domain.com). If I said that, I’m not so innocent, and I mean that even if the web alias is not the best solution, if you don’t have it in your tools box, it will miss a day
I still think that the virtualbox panel could be enhanced by the mod_dav, the user/group authentication, some apache directives, and of course the choice of a web alias or the web virtualhost. it is christmas no ?
Concerning nethserver-php-scl for ns6, please let me some few days, probably I want to merge some development done for ns7
And sure, follow the advice of marc, with Centos, if you try to upgrade a version, you will merely break your system, the software collection is always the way to go.
is’nt ist that one?
yum install http://mirror.de-labrusse.fr/nethserver/nethserver-php-scl/nethserver-remi-phpscl-1.0.0-1.ns6.sdl.noarch.rpm yum install http://mirror.de-labrusse.fr/nethserver/nethserver-php-scl/nethserver-php-scl-1.0.3-1.ns6.sdl.x86_64.rpm --enablerepo=remi-phpscl
and I think I prefer the http://yourip/joomla version.
I totally agree.
You could try the new fpm package available in testing:
yum --enablerepo=nethserver-testing install nethserver-rh-php56-php-fpm
You make me jealous
Instructions for the giacomo rpm are there https://github.com/NethServer/nethserver-rh-php56-php-fpm/blob/master/README.rst
The difference with the rpm of giacomo and mine is that you will need to install all missed rh-php56-php-* rpm
the pro is that you have to write your own web configuration in /etc/opt/rh/rh-php56/php-fpm.d/
in fact you can install it by some command line
first install epel and disable it
yum install nethserver-remi-phpscl --enablerepo=stephdl
yum install nethserver-php-scl --enablerepo=stephdl,remi-phpscl,epel
Don’t be! My rpm works only on NS 7 and I’m just searching for some testers!
the solution of /etc/opt/rh/rh-php56/php-fpm.d/ is simple and therefore good…the cons, is that you need to know what apache conf to write, but just a copy and paste of any apache configuration is enough
I will do
I think I’m doing something wrong- installation does not work
Remember @giacomo’s advice is for NS7
sorry I,m realy confused now. It was a long day- so which guide is for NS6 now?
thanks for your patience.
Add EPEL repo:
yum localinstall http://ftp.heanet.ie/pub/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
eorepo centos-base centos-updates nethserver-base nethserver-updates
That is looking good now. Do I have to reable the other ropo’s afterwards (sorry I’m just a physician )
no it should be good now, go to the shared folder of joomla and enable the php version you want or go to the php settings panel and allow the php version for the whole server, take a look to the help page if you need.
Thank you so much!
Just have to bring Joomla there…
also done- everything looks working- thanks again very much folks for helping
So it is now a NS 6.8 with Joomla 3.6.5- Installation worked fine, except the configuration.php had to be generated manually. No I’m facing the next problem. Although there are no restrictions at the shared directory at all the Joomla directories are not writable from the CMS. I’m using php 5.6 for this folder.
So I found out what to do:
[root@cbit html]# cd /var/lib/nethserver/ibay
[root@cbit ibay]# chown -R apache:apache “myinternetfolder”/
and that’s it.
unfortunately the build in Web panel function, does not work.
Merry christmas to evrybody I’am off now.