Cron does not run, rather the cron file is opened

I have installed in a vps:
Versión PHP 7.2.2
PhpList 3.4.5
Plesk Onyx
Version 17.8.11 Update #66

I always execute the cron tasks as administrator. In previous versions it works very well.
But in this version I have the problem that the cron does not execute, rather it opens the file.

The server does well with other programs. Only with this version of phplist does not work, rather open the phplist file.
How to correct it?

The output

Run scheduled task
Task “/usr/bin/php -q /var/www/vhosts/ -p processqueue -c /var/www/vhosts/” completed with error in 0 seconds, output:

phpList - phpList version 3.4.5 © 2000-2019 phpList Ltd,

phpList :: phpList :: Enviar la cola
Toggle navigation phpList, email newsletter manager, logo
العربية Bulgarian Català Česky danske Deutsch ελληνικά english español Español (Argentina) فارسی suomi française Galician עברית Croatian magyar Icelandic italiano 日本語 Lithuanian Latvian Norwegian Nederlands Vlaams polski Portuguese Portuguès (Brazil) Romanian русский Slovak Slovenian Albanian Srpski svenska Turkish Việt 简体中文 Traditional Chinese

Enviar la cola

Is your system setup properly? It seems to be wondering what language to use…?

Can you run this from a command prompt

/usr/bin/php -v

Possibly it is not running the cli version of php.


Thanks fou your help.

My language is Spanish.

For duncanc, this is the response:
[root@mail ~]# /usr/bin/php -v
PHP 5.4.16 (cli) (built: Oct 30 2018 19:30:51)
Copyright © 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2013 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from (unconfigured) v10.0.3, Copyright © 2002-2017, by ionCube Ltd.
[root@mail ~]#

Any idea?

Thanks You

This is a different version of php to that you showed in the first post, and is very old and not supported.You should be using php 7.x.