Here are a few important locations that I regulary forget the location for when working with PHP on a turnkeylinux server. So I’ve created a list here for reference:
#location of PHP /usr/bin/php#location of commandline PHP.ini /etc/php5/cli/php.ini#location of web PHP.ini /etc/php5/apache2/php.ini#useful commands to find locations php -i | grep 'Configuration File'#get all PHP information php --i