I have installed in a vps:
Versión PHP 7.2.2
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?
Run scheduled task
Task “/usr/bin/php -q /var/www/vhosts/mydomain.com/httpdocs/admin/index.php -p processqueue -c /var/www/vhosts/mydomain.com/httpdocs/config/config.php” completed with error in 0 seconds, output:
phpList - phpList version 3.4.5 © 2000-2019 phpList Ltd,
phpList :: phpList :: Enviar la cola
Is your system setup properly? It seems to be wondering what language to use…?
September 4, 2019, 7:17pm
Can you run this from a command prompt
Possibly it is not running the cli version of php.
Thanks fou your help.
My language is Spanish.
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 ioncube24.com (unconfigured) v10.0.3, Copyright © 2002-2017, by ionCube Ltd.
September 5, 2019, 5:27am
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.