DougW Posted November 12, 2017 Report Posted November 12, 2017 Hi I have installed Revive ad server successfully on my server but am having problems setting up scheduled maintenance. I have set a scheduled task on my Plesk control panel to run the maintenance, scheduled task. The task runs successfully in Plesk but I get the following error message...Sorry, but Revive Adserver cannot currently run on your machine PHP version 5.6.0, or greater, was not detected However I do have PHP 5.6.23 installed on the server for the domain. So I do not know what else I can do. I would be grateful if anyone has any ideas how to fix this. Thanks Doug Quote
andrewatfornax Posted November 12, 2017 Report Posted November 12, 2017 Hi @DougW, To me, that sounds like the CLI version of PHP that is being used by default is a different (lower) version of PHP than the one that's set up for the web server. Try specifying the full path to the correct version of the PHP CLI executable. Quote
DougW Posted November 12, 2017 Author Report Posted November 12, 2017 Hi Andrew Thank you for your reply, it does seem to make sense. But how would I do this? In Plesk scheduled tasks I have set the full path to maintenance.php file as follows: /var/www/vhosts/xxxx.co.uk/ads.xxxx.co.uk/scripts/maintenance/maintenance.php Doug Quote
andrewatfornax Posted November 12, 2017 Report Posted November 12, 2017 Not the full path to the maintenance file, the full path to the PHP CLI executable. Quote
DougW Posted November 12, 2017 Author Report Posted November 12, 2017 OK, I am showing my ignorance now )-: I am trying to set up the maintenance schedule for the stats by following the instructions here:https://documentation.revive-adserver.com/display/DOCS/Running+Maintenance It shows to set the path to the maintenance.php file not the full path to the PHP CLI executable Quote
DougW Posted November 19, 2017 Author Report Posted November 19, 2017 Hi Would you be able to give me any help/instructions on how to set the full path to the PHP CLI executable? Thanks Doug Quote
andrewatfornax Posted November 23, 2017 Report Posted November 23, 2017 Hi @DougW, I would if I could, but I can't - unfortunately, I don't know where the PHP CLI has been installed on your system. If you installed PHP yourself, then have a look back at how you installed it, so locate where it was installed. If someone else installed PHP, ask them! :-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.