|
Posted by Ron Barnett on 10/03/06 14:42
<laredotornado@zipmail.com> wrote in message
news:1159879818.318630.105010@b28g2000cwb.googlegroups.com...
> Hi,
>
> I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
> using Apache's apxs and the php library was installed to
> /usr/local/php. However, when I set my "error_reporting" setting to be
> "E_ALL", notices are still not getting reported. The perms on my file
> are 664, with owner root and group root. The php.ini file is located
> at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
> to be having an effect? I've cut and paste the php.ini file below.
>
> Thanks, - Dave
Dave,
Try this in the top of your script
error_reporting(E_ALL);
it should get errors showing, where they appear - on screen or in the
logfile depends on other settings.
not sure if /usr/local/lib/php/ is the correct place for the ini file,
check the documentation carefully, it is normally in etc/php... but of
course it does depend where PHP is installed.
Try a simple script
<?php
php_info();
?>
this will paint up loads of info about the server, including the config
locations.
Cheers
Ron
[Back to original message]
|