linux - [Solved-5 Solutions] where's my php.ini - ubuntu - red hat - debian - linux server - linux pc
Linux - Problem :
How to Find the Location of Your php.ini File ?
Linux - Solution 1:
Best way to find this is: create a php file and add the following code:
and open it in browser, it will show the file which is actually being read!
Linux - Solution 2:
On the command line execute:
You will get something like:
That's from your local dev-machine. However, the second line is the interesting one. If there is nothing mentioned, have a look at the first one. That is the path, where PHP looks for the php.ini
You can grep the same information using phpinfo() in a script and call it with a browser. Its mentioned in the first block of the output. php -i does the same for the command line, but its quite uncomfortable.
Related Searches to - linux - linux tutorial - where's my php.ini
linux red hat debian opensuse ubuntu arch linux mandrake get link linux computer linux pc linux server linux desktop learn linux red hat linux red hat enterprise linux linux software linux tutorial linux operating system suse linux linux download linux os linux ubuntu vmware linux lunix linux windows linux news linux usb linux commands unix linux linux version what is linux linux centos linux ftp php.ini file location in wordpressphp.ini location linuxphp.ini location windowsphp.ini file location in cpanelphp.ini file location in xamppphp.ini location ubuntuphp loaded configuration file nonephp.ini file location in wampHow do you create a PHP INI fileWhat is the PHP iniWhere is the PHP INI fileWhere can I find PHP INI file in xampp