Bug when deploying on server

Hi

I’m working with Kirby 3 locally and i have no problem. I just switched to production on my Ubuntu server with Apache 2 (where i have another website running on Kirby 2), with PHP 7.2, and I have this error :

This page is currently offline. We are very sorry for the inconvenience and will fix it as soon as possible.

Advice for developers and administrators:
Upgrade PHP to 7.1+ 

I checked Apache Logs, and I have no error. I checked Php version and i’m on 7.2.

Any clue ?

Which exact Kirby 3 version are you using?

The error message is loaded after this if-statement:

I have the latest version. I downloaded the starter kit and deployed it on my server.

Could you add a info.php to your root level with:

<?php phpinfo() ?>

So we can see what it reports in term of exact PHP version and other PHP setting.

Ok i had a different version of php in the CLI. I fixed it by purging APT and update to the 7.3. Thanks

That was one of my guesses, glad it works for you now!