Re: php error handling with apache



Rytis wrote:
hi. php has error handling and that's great. but it can't handle
serious errors like E_PARSE. set_error_handler nor
register_shutdown_function can't handle this. is there any other way
to do this with php? or maybe that may be done somehow with apache?
thank you. sorry, if this should be in apache conf...


AFAIK, syntax errors are fatal in any language, and there's no way to handle those errors.

It's why you need a development system - to get the bugs out before making it public.




--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: HELP - Cant change Include Path
    ... JDS Computer Training Corp. ... not the php directory as I assumed, but I corrected the path on both. ... as an Apache extension, the config file is only read at Apache startup. ... still prefer an external service. ...
    (comp.lang.php)
  • Re: PHP as CGI and .htaccess
    ... I have the Apacha server with PHP installed as CGI Binary. ... Why not install PHP as an Apache module? ... JDS Computer Training Corp. ... I've installed both PHP 4 and 5 as Apache modules, ...
    (comp.lang.php)
  • Re: phptriad - offtopic
    ... long eddy wrote: ... Start Apache ... I am able to test a .php page such as: ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)