PDA

View Full Version : Unable to suppress PHP warnings to serve website



VotaVader
November 27th, 2010, 08:33 PM
Hi all!

I'm trying to host a site with a ton of different php scripts, and I want to disable the php warnings that say "Deprecated: ..." and so forth with Cake scripts.

I'm working with lampp and I've tried modifying the file /opt/lampp/etc/php.ini to have display_errors = Off, but they still appear when I explore the site with a browser (Firefox or Chrome). The only difference is that now the text of the errors is all crammed together (it seems the text format is gone). What could be the problem here? And how would I go about solving it?

Any help is appreciated :p