# Bug when deploying on server

**URL:** <https://forum.getkirby.com/t/bug-when-deploying-on-server/13277>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 8, 2019, 5:44pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277 "2019-03-08T17:44:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![smeloh](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@smeloh](https://forum.getkirby.com/u/smeloh)\
**Post date:** [March 8, 2019, 5:44pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/1 "2019-03-08T17:44:19Z")

</div>

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 :

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [March 8, 2019, 7:15pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/2 "2019-03-08T19:15:14Z")

</div>

Which exact Kirby 3 version are you using?

The error message is loaded after this if-statement:

> <https://github.com/getkirby/kirby/blob/master/bootstrap.php#L7>

---

<div class="post-metadata">

**Author:** ![smeloh](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@smeloh](https://forum.getkirby.com/u/smeloh)\
**Post date:** [March 8, 2019, 7:29pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/3 "2019-03-08T19:29:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [March 8, 2019, 7:31pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/4 "2019-03-08T19:31:03Z")

</div>

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

```php
<?php phpinfo() ?>

```

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

---

<div class="post-metadata">

**Author:** ![smeloh](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@smeloh](https://forum.getkirby.com/u/smeloh)\
**Post date:** [March 8, 2019, 7:36pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/5 "2019-03-08T19:36:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [March 8, 2019, 7:37pm UTC](https://forum.getkirby.com/t/bug-when-deploying-on-server/13277/6 "2019-03-08T19:37:10Z")

</div>

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