We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12584
    • 208 Posts
    Is there a way to use MODx without having ini_set() switched on.

    I am no expert on server security but my host would like to disable ini_set() to increase security however MODx returns an error when this is done and I wondered if there was a work around for this or if anyone could give me a little more information in general on this.

    Many thanks

    Ian
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Does he allow you some other way of changing default php.ini settings, such as custom php.ini files where they are needed? In the case of MODx, you would need one in the site root for the main index.php file, and one in the manager directory for the manager’s index.php file.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org