Romuloux
Romuloux

Reputation: 1183

PHP Strict Standards errors on localhost

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?

Upvotes: 1

Views: 2060

Answers (1)

Corina
Corina

Reputation: 1545

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!

Upvotes: 2

Related Questions