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

Where is php.ini


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.


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?

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: