After Upgrading Nethserver from 7.7.1908 to 7.8.2003, that worked actually fine. With the following exception in the new Server Manager Cockpit regarding Web server.Virtual hosts and PHP:
Note: I’ve installed PHP previously on 7.7.1908 using the following instructions:
The old Server Manager looks as follows, that are the correct values. Note: There seems to be a charset mismatch: e.g. é is not shown correct compared to Cockpit.
That’s are totally different implementation, you should use the one on Cockpit because it uses the standard core modules.
If you want to use @stephdl implementation, you should stick to the old Server Manager.
Basically, what is inside Cockpit is a merge of the old work inside the core.
Am I right @stephdl or am I saying something totally wrong?
Yes, that’s completely clear to me: 2 different implementations. I was using and I’m still using @stephdl implementation of PHP, btw. great job of you @stephdl, because it was at that time I needed it for newer versions of WordPress the only easy approach to use PHP versions > 5.4. And it worked & works still fine for me.
And yes, I would like to use Cokpit only, as soon as it has the same or better functionality as the old Server Manager.
I personally like actually the old Tabbed UI more than the new approach with Advanced settings button:
I know, this is used everywhere nowadays e.g. Google uses it nearly everywhere - but new means not always better at least from an Usability or User Experience point of view.
I’ve understand, that your team has done a great work with cockpit BUT
please could you give me a hint, what and how should I use PHP at the moment. Or in other words, what’s the best practice using PHP on Nethserver 7.8.2003?
Because Cockpit.Web server.Virtual hosts tells me, that PHP 7.2 and 7.3 is not installed!:
don’t know it depends of your goals, generally I use the last php version available if the web applications is compatible
Anyway it is only to your Vhost, so it changes nothing to the rest of your system.
With the core module we have changed the way to handle rpm, the default is nothing is installed and you install what you miss, with My RPM I did differently, install everything and enable it per vhost if asked.
OK, know I’ve understood. So I’ll use Cockpit for future virtual hosts that uses then the Red Hat PHP rpms e.g. rh-php72-php-fpm instead of php72-php-fpm
But there seems still to be one problem with Cockpit. You can not specify the name of the newly created virtual host directory nor the FTP user name. But these are auto generated and not really human readable. I don’t no why it is implemented in that way but not usable for me. As long as this is not fixed in Cockpit, I’ll use the following approach:
Create the virtual host using the old Server Manager. This creates a readable FTP user name and more important a readable directory name in /var/lib/nethserver/vhost/gaga
And set the PHP version and PHP settings to be used within Cockpit
Thanks anyway for your fast repsonse to my question.