Why isn’t my custom php.ini working?

There are a few common reasons why custom php.ini files won’t work.

  • Check the file name
    Often if you’re saving it in Windows – for example with Notepad – the file may have been accidentally named “php.ini.txt”. Please ensure this isn’t the case.
  • Is the file in the script directory?
    Make sure the php.ini wasn’t placed in a subfolder, as it will only take affect for that folder and subfolders.