# Function Require Blues for a Newbie

**URL:** <https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342>\
**Category:** Questions\
**Tags:** v2\
**Created:** [February 16, 2016, 3:23am UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342 "2016-02-16T03:23:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tmoline](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tmoline/32/567_2.png) [@Tmoline](https://forum.getkirby.com/u/Tmoline)\
**Post date:** [February 16, 2016, 3:23am UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/1 "2016-02-16T03:23:48Z")

</div>

I’m having this issue: **Warning: require(DIR/kirby/bootstrap.php) [function.require]: failed to open stream: No such file or directory.** I’ve done some research and worked on this for about 2 days and still no answer.  
I know my web host is running php 5.4. It works on for one hosting but not the other. I’ve also tried to redirect in the .htacess file with no resolution.

Can anyone share some insight?

T\>

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 16, 2016, 7:12am UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/2 "2016-02-16T07:12:14Z")

</div>

Two possibilities I see here:

- Are the Kirby/Toolkit/Panel folders empty?
- Nevertheless the wrong PHP version, have you double-checked with phpinfo?

---

<div class="post-metadata">

**Author:** ![Tmoline](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tmoline/32/567_2.png) [@Tmoline](https://forum.getkirby.com/u/Tmoline)\
**Post date:** [February 16, 2016, 1:12pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/3 "2016-02-16T13:12:54Z")

</div>

No they are not empty

![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/f/f2902f036afc5d75ca564209d1431d2cfaf14f3f.png)

Double checked with phpinfo? meaning adding this code to the Kirby index.php file:

\<?php // Show all information, defaults to INFO\_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO\_MODULES); ?\>

Thanks for your time.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 16, 2016, 1:16pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/4 "2016-02-16T13:16:20Z")

</div>

Put an info.php file into the kirby root folder:

```php
//info.php
<?php
phpinfo();

```

and then call that file directly in your browser.

---

<div class="post-metadata">

**Author:** ![Tmoline](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tmoline/32/567_2.png) [@Tmoline](https://forum.getkirby.com/u/Tmoline)\
**Post date:** [February 16, 2016, 1:23pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/5 "2016-02-16T13:23:31Z")

</div>

ok got it:[http://terrencemoline.com/clients/toyin-falola/cms/info.php](http://terrencemoline.com/clients/toyin-falola/cms/info.php).  
Looks like no matter how I change the php info its still running 5.2.7.  
Does anything stand out to you?

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [February 16, 2016, 1:26pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/6 "2016-02-16T13:26:04Z")

</div>

You have to ask your hosting provider to update the PHP version for you. It’s actually a super old version so they should be able to move you to something more recent.

---

<div class="post-metadata">

**Author:** ![Tmoline](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tmoline/32/567_2.png) [@Tmoline](https://forum.getkirby.com/u/Tmoline)\
**Post date:** [February 16, 2016, 1:31pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/7 "2016-02-16T13:31:14Z")

</div>

Thanks,@bastianallgeier, I worked extensively over the last two days with the hosting provider and I thought I changed the php version myself. I’ve also asked them to change it. Looks like I’ll have to be more of a hard ass with hostgator or switch providers.

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [February 16, 2016, 1:46pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/8 "2016-02-16T13:46:00Z")

</div>

Have you checked this already: [http://support.hostgator.com/articles/hosting-guide/hardware-software/what-version-of-php-are-you-using#change](http://support.hostgator.com/articles/hosting-guide/hardware-software/what-version-of-php-are-you-using#change) It was just a quick google search, but maybe it helps you.

---

<div class="post-metadata">

**Author:** ![Tmoline](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tmoline/32/567_2.png) [@Tmoline](https://forum.getkirby.com/u/Tmoline)\
**Post date:** [February 16, 2016, 3:09pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/9 "2016-02-16T15:09:29Z")

</div>

Thanks again.

Yes, that’s the panel I worked with late last night and thought I changed it. I talked to them this morning and they stated something about fixing permissions at the root level and connected me with a senior advisor. We’ll see where this takes me.

T.

---

<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:** [February 6, 2025, 5:00pm UTC](https://forum.getkirby.com/t/function-require-blues-for-a-newbie/3342/10 "2025-02-06T17:00:14Z")

</div>


