I am trying to find "php.ini". So I do the command:
It is giving me thousands of files that do not contain "php.ini". What am I doing wrong?Code:find / "php.ini" 2>/dev/null
I am trying to find "php.ini". So I do the command:
It is giving me thousands of files that do not contain "php.ini". What am I doing wrong?Code:find / "php.ini" 2>/dev/null
Run the command:This will output the information you want/need plus a number of additional ini files. The good news is the file you want is at the top of the output as shown in my Ubuntu 16.04 below which shows the first two lines of output of the command. . Yours of course, may be different.Code:php --ini
Code:Configuration File (php.ini) Path: /etc/php/7.0/cli Loaded Configuration File: /etc/php/7.0/cli/php.ini
Hi COKEDUDE.
Try this:
Regards.Code:find / -name "php.ini"
Bookmarks