When I execute the bash command php --ini
to find the location of the php.ini
file, the loaded one is:
Loaded Configuration File: /etc/php5/cli/php.ini
But when I run a php.info
on my webserver, I get this as the loaded one:
/etc/php5/apache2/php.ini
What command can I run to return the one associated with Apache?
I remember in CentOS, I could use which php (I think) and that would return it, but using Debian it does not work.