Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

syntax errors are not being displayed

5 views
Skip to first unread message

bill

unread,
Apr 21, 2017, 10:40:39 AM4/21/17
to
for no "apparent" reason my development system has stopped
displaying syntax errors. Runtime errors display and are logged
in the apache2.log.

The phpinfo has:
display_errors Off Off
display_startup_errors Off
but
/etc/php5/apache2/php.ini has both set to On

the only other php.ini found on the system is

/etc/php5/cli/php.ini
and I have not examined it as I am not using the cli

I seem to be missing something about syntax error display

--bill

J.O. Aho

unread,
Apr 21, 2017, 12:30:16 PM4/21/17
to
On 04/21/17 16:40, bill wrote:
> for no "apparent" reason my development system has stopped displaying
> syntax errors. Runtime errors display and are logged in the apache2.log.
>
> The phpinfo has:
> display_errors Off Off
> display_startup_errors Off

Check in the beginning of the output for the
"Loaded Configuration File" this one will tell you which ini file has
been loaded

The rows below will also include extra ini files which been loaded and
those can affect the result.


--

//Aho

Jerry Stuckle

unread,
Apr 21, 2017, 8:59:27 PM4/21/17
to
In addition to what J.O. said, ensure you don't have a .htaccess file
overriding those settings.

--
==================
Remove the "x" from my email address
Jerry Stuckle
jstu...@attglobal.net
==================

bill

unread,
Apr 22, 2017, 8:23:52 AM4/22/17
to
I looked through them and none mention "display_errors"

--bill

bill

unread,
Apr 22, 2017, 8:25:19 AM4/22/17
to
On 4/21/2017 8:59 PM, Jerry Stuckle wrote:
> On 4/21/2017 10:40 AM, bill wrote:
>> for no "apparent" reason my development system has stopped displaying
>> syntax errors. Runtime errors display and are logged in the apache2.log.
>>
>> The phpinfo has:
>> display_errors Off Off
>> display_startup_errors Off
>> but
>> /etc/php5/apache2/php.ini has both set to On
>>
>> the only other php.ini found on the system is
>>
>> /etc/php5/cli/php.ini
>> and I have not examined it as I am not using the cli
>>
>> I seem to be missing something about syntax error display
>>
>> --bill
>
> In addition to what J.O. said, ensure you don't have a .htaccess file
> overriding those settings.
>
no .htaccess file above document_root.

I am sure that when I find it I will pound my head against the
desk, but, for now I am stimied.

--bill

bill

unread,
Apr 22, 2017, 8:29:57 AM4/22/17
to
On 4/21/2017 10:40 AM, bill wrote:
disregard prior reply, I was looking at the wrong server.
more to follow after I get some food in me.


-bill

bill

unread,
Apr 22, 2017, 10:42:51 AM4/22/17
to
On 4/21/2017 10:40 AM, bill wrote:
Thank you both for your suggestions.
The problem was operator error.
Most of my development work is on a private network but
occasionally I need to do some fixing of a internet facing shared
server and we are not the owner/administrator of that server. So
I was complaining of the development server but the issues was
the public server.

Now that I found it's error log I can proceed.

-bill
0 new messages