Location Of Php.ini Configuration File In Linux
- Location Of Php.ini Configuration File In Linux
this page will show you where is the location of the configuration file php.ini in php in a linux computer system , Last Updated: Sun Mar 01, 2020
Sun Nov 27, 2011
if you are reading this its probably because you are like me. i wanted to know where i can find the php.ini file. i needed to know because i need to make some configuration changes to my PHP and i have a linux Centos (its basically the same as fedora or redhat) there two ways of finding out.
1. by default, the php.ini file is located at: /etc/php.ini
2. if for some reason its not in the /etc/ directory in your system, you can still find out where the php.ini file is located at. simply by running a phpinfo.php file in your system. basically create a php file and put this function in it:
hope that helps