michelandre
(Michel-André)
November 20, 2020, 8:19pm
41
Hi Marko,
GUI 980
GUI 9090 Cockpit
With: (yesterday)
yum install nethserver-php-scl --enablerepo=stephdl
No "/"
SetHandler "proxy:unix:/var/run/php73-php-fpm/VHOSTNAME-php73.sock|fcgi://localhost"
NinjaFirewall of VHOSTNAME switched by itself to Full WAF because user.ini
was already created from an earlier attempt to switch to Full WAF.
Michel-André
capote
(Marko)
November 20, 2020, 9:25pm
42
i repeated it:
-rw-r--r-- 1 root root 12531 Nov 20 22:22 virtualhosts.conf
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/xxxxxxxxxxxxx-php73.sock|fcgi://localhost/"
again fall back to Wordpress WAF
michelandre
(Michel-André)
November 20, 2020, 11:56pm
43
Hi Marko,
So it is not in Full WAF, meaning it is not working ?
Michel-André
capote
(Marko)
November 21, 2020, 6:27am
44
Hi Michel-Andre, In fact, it does not work for me. But I’m not sure if the patch landed on my server at all. Which files could I check on?
best regards, MArko
dnutan
(Marc)
November 21, 2020, 9:53am
45
testing packages are in 7.9.2009 testing repo, not on the currently stable one.
1 Like
stephdl
(Stéphane de Labrusse)
November 21, 2020, 9:54am
46
rpm -qa | grep nethserver-php-scl
rpm -qa | grep nethserver-httpd
stephdl
(Stéphane de Labrusse)
November 21, 2020, 9:56am
47
my bad you are right for nethserver-httpd* however my rpm is available on my repo
FYI nethgui is not more installed with 7.9, it is time to never use it anymore
stephdl
(Stéphane de Labrusse)
November 21, 2020, 9:58am
48
pick the URL of the rpm and install with
yum install url1 url2 url3
opened 04:22PM - 19 Nov 20 UTC
Steps to reproduce
Create a virtualhost with a php version not the default one (eg use php7*)
Create a phpinfo then look at...
bug
testing
stephdl
(Stéphane de Labrusse)
November 21, 2020, 9:59am
49
this is cockpit, you have to install the patch from nethserver-httpd-\*
from 7.9 repository
capote
(Marko)
November 21, 2020, 10:21am
50
[root@ns-srv01 ~]# rpm -qa | grep nethserver-php-scl
nethserver-php-scl-1.3.2-1.ns7.sdl.x86_64
[root@ns-srv01 ~]# rpm -qa | grep nethserver-httpd
nethserver-httpd-3.11.3-1.ns7.noarch
nethserver-httpd-admin-2.5.1-1.ns7.noarch
nethserver-httpd-virtualhosts-3.11.3-1.ns7.noarch
[root@ns-srv01 ~]#
my bad you are right for nethserver-httpd* however my rpm is available on my repo
FYI nethgui is not more installed with 7.9, it is time to never use it anymore
I think I will wait until when 7.9 was released.
1 Like
michelandre
(Michel-André)
November 21, 2020, 2:44pm
51
Hi Stéphane,
I am not a programmer let alone a developer, but I believe it is premature not to install NethGUI in version 7.9.
There are refinements to do in Cockpit before letting NethGUI down.
For one, Cockpit doesn’t seem to be picking up the right information:
Example:
My 2 cents,
Michel-André
1 Like
dnutan
(Marc)
November 21, 2020, 2:50pm
52
Compared implementations use different package sources:
For the nethgui php implementation I am guilty, I used php scl of remi, up to php74
For the cockpit php implementation I am too guilty, this time we used rh-php from the official software collections, up to rh-php73
This is why the version are different but when in the same vhost you enable a different php version in cockpit and nethgui, cockpit must win
michelandre
(Michel-André)
November 21, 2020, 2:55pm
53
Hi Marc,
Will this apply to: NethServer 7.9.2009 is under work ?
Michel-André
dnutan
(Marc)
November 21, 2020, 3:01pm
54
Yes, the same applies.
NethGUI will be available for new installs but not installed by default.
michelandre
(Michel-André)
November 21, 2020, 3:06pm
55
Hi Marc,
Thank you for the clarification.
Michel-André
stephdl
(Stéphane de Labrusse)
November 21, 2020, 3:56pm
56
I am thinking to remove nethserver-php-scl from my repository, it brings more question than it solves issues :-?
stephdl
(Stéphane de Labrusse)
November 21, 2020, 4:07pm
57
michelandre
(Michel-André)
November 21, 2020, 4:07pm
58
Salut Stéphane,
It worked very well for me and solved the issue with Ninjafirewall which is now working correctly.
I trust you and I will support your decision whatever it is
Michel-André
2 Likes
capote
(Marko)
November 21, 2020, 5:15pm
59
please not. There are no problems only challenges.
stephdl
(Stéphane de Labrusse)
November 21, 2020, 5:40pm
60
just dropped a note in the wiki page by now…
1 Like