PHP 7.3 upgrade Ubuntu 18.04

3 posts / 0 new
Last post
#1 Wed, 06/26/2019 - 10:20
urbaman
urbaman's picture

PHP 7.3 upgrade Ubuntu 18.04

Hi,

I installed php7.3 on my Ubuntu 18.04 server, but Virtualmin seems not to see it:

Virtualmin's Re-Check result:

The following PHP versions are available : 7.2.19 (/usr/bin/php-cgi7.2), 7.3.6 (/usr/bin/php-cgi7.3)

The following PHP-FPM versions are available on this system : 7.2

PHP7.3-FPM status (it exists on the machine):

[root@srvdlp01 ~]# service php7.3-fpm status
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-06-25 15:12:19 CEST; 1 day 2h ago
     Docs: man:php-fpm7.3(8)
Main PID: 1539 (php-fpm7.3)
   Status: "Processes active: 0, idle: 2, Requests: 4219, slow: 0, Traffic: 1req/sec"
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/php7.3-fpm.service
           ├─1539 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
           ├─1540 php-fpm: pool www
           └─1541 php-fpm: pool www

Jun 25 15:12:19 srvdlp01.dreamlordpress.it systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...
Jun 25 15:12:19 srvdlp01.dreamlordpress.it systemd[1]: Started The PHP 7.3 FastCGI Process Manager.

Virtualmin default server's PHP is FPM, 7.3, but any new domain downgrades to PHP7.2, enabling the stopped PHP7.2-FPM service.

Is there anything I should do to make Virtualmin recognize my PHP7.3-FPM?

Thank you,

Sat, 10/05/2019 - 04:07
LearnEnglishWit...

Also php7.3 on Ubuntu 18.04 issue with my Virtualmin system. php7.3 is installed but virtualmin is using previous php version

root@english-alps:~# service php7.3-fpm status
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor prese
   Active: active (running) since Fri 2019-10-04 17:31:54 UTC; 15h ago
     Docs: man:php-fpm7.3(8)
Main PID: 688 (php-fpm7.3)
   Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/se
    Tasks: 3 (limit: 2318)
   CGroup: /system.slice/php7.3-fpm.service
           ├─688 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
           ├─765 php-fpm: pool www
           └─772 php-fpm: pool www

Oct 04 17:31:53 english-alps.com systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...
Oct 04 17:31:54 english-alps.com systemd[1]: Started The PHP 7.3 FastCGI Process Manager.

root@english-alps:~# php -v
PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep  2 2019 12:54:24) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.9-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

virtualmin->Server Configuration->PHP Versions show 7.2.22 and 7.3.9 in the dropdown, both website subdirectories are empty

Virtualmin->System Settings->Re-Check Configuration shows:

The following PHP versions are available : 7.2.22 (/usr/bin/php-cgi7.2), 7.3.9 (/usr/bin/php-cgi7.3)

The following PHP-FPM versions are available on this system : 7.2 7.3.9

phpMyAdmin shows
PHP-Version: 7.2.22-1+ubuntu18.04.1+deb.sury.org+1
Sat, 10/05/2019 - 05:05
Jfro

It was that only one php fpm version is supported in virtualmin,

it probably still is?

Or only in some configs i don't know?

Topic locked