[SOLVED] Possible bug with PHP version setting

Salut Stéphane,

Narrator: Faster than a speeding bullet. More powerful than a locomotive. Able to leap tall buildings in a single bound.
Man 1: Look! Up in the sky! It’s a bird!
Woman 1: It’s a plane !
Man 2: It’s SuperStephdl !

I confirm, now NinjaFirewall is working in Full WAF mode on Vhost.

Merci mil fois,


1 Like

I will do an issue to the core vhost and change it for the nethserver-httpd-virtualhost package…merci

1 Like

Salut Stéphane,

Just by curiosity, why in the above /15RhPhpScl_values#L17, the ending “/” is still there.


which rpm

nethserver-php-scl or nethserver-httpd-virtualhosts ?


rpm -qf /path/to/the/file

In Reply #17, line 17


see my question, from which rpm it comes ?

Is that the reason why all Vhosts created by GUI 980 don’t have an ending “/” and a Vhost created by Cockpit still have it ?

From /etc/httpd/conf.d/virtualhosts.conf:

<FilesMatch .php$>
  SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/b7fe6df5f8e3769-php73.sock|fcgi://localhost/"


in somehow yes, cockpit gets the priority, but I have just fixed my rpm (netgui) and all my modules, I need to do it now at the core level

Thank you again SuperStephdl for all the work you did, doing, and will do,



Salut Stéphane,

“Return to Caesar what belongs to Caesar.”

In your “issue # 6339”, it’s very kind to thank me, but without Marco @capote , I would never have known what to check.



added for the posterity

1 Like

Caesar would have been proud of you.:smile: :champagne:


Thanks to the Les Trois Mousquetaires on this post (@capote for discovering the issue, @michelandre for hunting the bug further and @stephdl for taking care of fixing it).


I feel honored. :beers:

But I learned a lot and it was an inspiring collaboration especially with @michelandre.

Sincerely, Marko

1 Like

And thanks to @stephdl the issue is ready for testing!

Just try it and report back :wink:

1 Like

yum update nethserver-http\* --enablerepo=nethserver-testing

please jump to it, no excuse for being friday

1 Like

let’s play…

[root@ns-srv01 ~]# yum update nethserver-http\* --enablerepo=nethserver-testing
Geladene Plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                                          |  32 kB  00:00:00     
 * epel: mirrors.n-ix.net
 * remi-safe: mirror.23media.com
ce-base/7/x86_64/signature                                                                                                                                                    |  811 B  00:00:00     
ce-base/7/x86_64/signature                                                                                                                                                    | 3.6 kB  00:00:00 !!! 
ce-extras/7/x86_64/signature                                                                                                                                                  |  811 B  00:00:00     
ce-extras/7/x86_64/signature                                                                                                                                                  | 2.9 kB  00:00:00 !!! 
ce-sclo-rh                                                                                                                                                                    | 3.0 kB  00:00:00     
ce-sclo-sclo                                                                                                                                                                  | 3.0 kB  00:00:00     
Not using downloaded ce-sclo-sclo/repomd.xml because it is older than what we have:
  Current   : Thu Nov  5 14:17:31 2020
  Downloaded: Thu Oct 22 14:17:19 2020
ce-updates/7/x86_64/signature                                                                                                                                                 |  811 B  00:00:00     
ce-updates/7/x86_64/signature                                                                                                                                                 | 2.9 kB  00:00:00 !!! 
nethforge/7/x86_64/signature                                                                                                                                                  |  836 B  00:00:00     
nethforge/7/x86_64/signature                                                                                                                                                  | 3.6 kB  00:00:00 !!! 
nethserver-base/7/x86_64/signature                                                                                                                                            |  836 B  00:00:00     
nethserver-base/7/x86_64/signature                                                                                                                                            | 2.9 kB  00:00:00 !!! 
nethserver-testing/7/x86_64/signature                                                                                                                                         |  836 B  00:00:00     
Schlüssel wird von file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7 geholt
GPG-Schlüssel 0x39BAF5C1 importieren:
 Benutzerkennung     : "NethServer 7 (NethServer 7 Official Signing Key) <security@nethserver.org>"
 Fingerabdruck: 594c 3fd8 fae1 8ff5 32fe ae23 9cb2 8ea0 39ba f5c1
 Paket    : nethserver-release-7-17.ns7.noarch (@nethserver)
 Von       : /etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7
Ist dies in Ordnung? [j/N] :j
nethserver-testing/7/x86_64/signature                                                                                                                                         | 2.9 kB  00:00:08 !!! 
nethserver-updates/7/x86_64/signature                                                                                                                                         |  836 B  00:00:00     
nethserver-updates/7/x86_64/signature                                                                                                                                         | 3.6 kB  00:00:00 !!! 
remi-safe                                                                                                                                                                     | 3.0 kB  00:00:00     
stephdl                                                                                                                                                                       | 2.9 kB  00:00:00     
(1/2): nethserver-testing/7/x86_64/primary_db                                                                                                                                 | 259 kB  00:00:00     
(2/2): remi-safe/primary_db                                                                                                                                                   | 1.8 MB  00:00:00     
No packages marked for update
[root@ns-srv01 ~]#

Hi all,

Received email:


Not using downloaded ce-sclo-sclo/repomd.xml because it is older than what we have:
  Current   : Thu Nov  5 08:17:31 2020
  Downloaded: Thu Oct 22 08:17:19 2020


I applied in Neth Gui PHP 7.3 and Ninja Firewall balls back to WordPress WAF mode.

all “/” still exists…
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/xxxxxxxxxxx-php73.sock|fcgi://localhost/"

But the virtualhosts.conf had an older date… confusing.
This afternoon the NinjaFirewall still operated in FullWaf mode. (I check I daily)

-rw-r--r-- 1 root root 12531 Nov 17 09:32 virtualhosts.conf

best regards, Marko