1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where is php.ini

Discussion in 'Troubleshooting and Problems' started by Lyall Henderson, Sep 16, 2012.

  1. Lyall Henderson

    Lyall Henderson New Member

    I know this is a very newbie question, but I can't seem to find the answer.

    Where in the directory can I find php.ini to edit?
  2. Pereira

    Pereira Well-Known Member

    Do you mean config.php? That's in the library folder.

    XenForo doesn't have a php.ini file. php.ini is a server configuration file. You might need to contact your host if you want to change it.
  3. Arty

    Arty Well-Known Member

    Create file phpinfo.php with these contents:
    <?php phpinfo();
    open it in browser, it will tell you location of php.ini on your server.

    You'll need root access to edit php.ini, so unless you have your own vps/server, you can't edit it. What do you want to change in php.ini?
    Breixo and Jake Bunce like this.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Arty is correct. Your phpinfo page will give the location. You can actually view phpinfo in XenForo by visiting:

    Breixo likes this.

Share This Page