Re: Scripts not working outside of Zend Studio
| From: | Greg Donald | Date: | Wed, 05 Oct 2005 21:25:03 +0000 |
| Subject: | Re: Scripts not working outside of Zend Studio | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223665@lists.php.net to get a copy of this message | ||
On 10/5/05, Steve Harp <steve@harpservices.com> wrote:
> I've got the php.ini set to throw errors:
> error_reporting = E_ALL & E_NOTICE & E_STRICT
> display_errors = On
But which php.ini on your system is your web server using? Many newer
Linux distros for example ship with multiple php.ini files, one for
the cli PHP, one for the mod_php.
I'd cut out the middle man and add a call to error_reporting() at the
top of the script.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/