0

I'm getting a Deprecated warning despite the following setting in /etc/php5/apache2/php.ini

I don't see a CLI specific php.ini, Do I need to create create one? Where else would this setting be coming from?

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED 

2 Answers 2

0

Which distribution?

/etc/php5/apache2/php.ini - try /etc/php5/cli/php.ini if it's present or try from shell #php -i | grep php.ini and edit this file.

0

Check PHP's documentation about the configuration files.

In Gentoo Linux, the configuration for CLI PHP is under /etc/php/cli-php5.

1
  • I've looked closer, on Ubuntu-server (I should've specified) /etc/php5/cli/php.ini Commented Aug 28, 2010 at 21:52

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.