PHP4->PHP5 can't see errors

Hi all,

strange thing is appening. I just upgraded from PHP4 to PHP5 and from
apache1 to apache2 but I don't see errors on screen anymore.

In the log I've errors: PHP parse error....what's strange is that this
script is exactly the same as the one on the server also with php5.

How can I set apache or PHP to show those errors on screen instead of only
in the log file. I've set error_reporting = E_ALL in the PHP.ini but It does
nothing. Is that in apache ?

Bob
Bob Bedford [ Di, 21 August 2007 17:55 ] [ ID #1801320 ]

Re: PHP4->PHP5 can't see errors

Post removed (X-No-Archive: yes)
Notifier Deamon [ Di, 21 August 2007 18:43 ] [ ID #1801321 ]

Re: PHP4->PHP5 can't see errors

Bob Bedford wrote:
> Hi all,
>
> strange thing is appening. I just upgraded from PHP4 to PHP5 and from
> apache1 to apache2 but I don't see errors on screen anymore.
>
> In the log I've errors: PHP parse error....what's strange is that this
> script is exactly the same as the one on the server also with php5.
>
> How can I set apache or PHP to show those errors on screen instead of only
> in the log file. I've set error_reporting = E_ALL in the PHP.ini but It does
> nothing. Is that in apache ?
>
> Bob
>
>
You'd be best off asking alt.php

--
DM davidm [at] cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill
David McKenzie [ Mi, 22 August 2007 06:21 ] [ ID #1802260 ]
Webserver » alt.apache.configuration » PHP4->PHP5 can't see errors

Vorheriges Thema: mod_rewrite and proxy server
Nächstes Thema: show *.xml files in directory