1

I keep receiving strict standards errors on my local machine (mac os 10.8) when I am trying to install RoundCube.

I tried turning them off by editing the php.ini line to this

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

After restarting Apache, all of the error messages still get displayed

I am using the php installer found here at http://php-osx.liip.ch/

When I run phpinfo() the php.ini location is set to here /usr/local/php5/lib/php.ini

This is the file that I have been editing but no changes I make there appear to happen. What am I doing wrong?

5
  • run phpinfo in the same dir (and possibly) script causing one of those errors. it's possible for a php .ini override to be present in multiple places. other .ini file, .htaccess or http.conf php_value, ini_set, etc... Commented Nov 7, 2012 at 19:04
  • make display_errors=off in php.ini file Commented Nov 7, 2012 at 19:04
  • possibly there's a local htaccess file that's overriding the php.ini settings? Commented Nov 7, 2012 at 19:04
  • There is no .htaccess file present in the directory. Running phpinfo() produces the same php.ini file location. Error reporting according to phpinfo() is 30711. Commented Nov 7, 2012 at 19:08
  • @VikasUmrao display_errors is set to off but the changes in the php.ini do not appear to be taking hold. Commented Nov 7, 2012 at 19:09

1 Answer 1

2

The installer script in Roundcube overrides the settings in your php.ini.

I searched the Roundcube folder for files that use the "error_reporting" php function and indeed you can see in .\installer\index.php how the php error level is changed (line 42):

ini_set('error_reporting', E_ALL&~E_NOTICE);
ini_set('display_errors', 1);

Try changing the error level here!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.