# ionCube Loader (php.ini configuration reset on start)

**URL:** <https://community.localwp.com/t/ioncube-loader-php-ini-configuration-reset-on-start/27479>\
**Category:** Support\
**Tags:** php-ioncube, lightning-service\
**Created:** [September 1, 2021, 9:28am UTC](https://community.localwp.com/t/ioncube-loader-php-ini-configuration-reset-on-start/27479 "2021-09-01T09:28:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [September 1, 2021, 3:18pm UTC](https://community.localwp.com/t/ioncube-loader-php-ini-configuration-reset-on-start/27479/2 "2021-09-01T15:18:50Z")

</div>

Hey @Mohammad_Arab , Welcome to the Local Community Forums!

Because Local has to work on both \*nix systems as well as Windows, it uses a template file that’s re-compiled everytime a site is restarted.

This topic seems similar to what you’re asking: [Local is filling up the hard disk in my MAC - #2 by ben.turner](http://community.localwp.com/t/local-is-filling-up-the-hard-disk-in-my-mac/27469/2)

But basically, double-check that you are editing the `.hbs` file and not the compiled configuration file. By default, PHP’s configuration for a site is located at:

```auto
~/Local Sites/sitename/conf/php/php.ini.hbs

```

Can you try editing that `.hbs` file, restarting the site, and see if that gets things working for you?

---

_[View the full topic](https://community.localwp.com/t/ioncube-loader-php-ini-configuration-reset-on-start/27479)._
