Different php.ini for apache2 and php-cli

Different php.ini for apache2 and php-cli

Apache2 & cli php settings are to be configured separately in 2 separate php.ini files located at /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini respectively. Changes at /etc/php5/cli/php.ini will not affect your php files that are to be executed via web.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.