Skip to main content
Active reading.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

In a command window, type

php --ini 

It will show you the path something like:

Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini 

If the above command does not work then use this:

echo phpinfo(); 

In command window type

php --ini 

It will show you the path something like

Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini 

If the above command does not work then use this

echo phpinfo(); 

In a command window, type

php --ini 

It will show you the path something like:

Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini 

If the above command does not work then use this:

echo phpinfo(); 
Source Link
bibliophilsagar
  • 1.8k
  • 2
  • 20
  • 40

In command window type

php --ini 

It will show you the path something like

Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini 

If the above command does not work then use this

echo phpinfo();