php monitoring
DESCRIPTION
Presentation given at the event in Liege of 18/02/2009 to PHPBelgiumTRANSCRIPT
PHP Monitoring
About Me
Davide Mendolia
My Job : Ausy - SNCB
Certification : Zend PHP5/Zend Framework Certified
OSS : Developper of APM
Blog :http://davidemendolia.blogspot.com
PHP Error
PHP Error Level
1 E_ERROR 2 E_WARNING 4 E_PARSE 8 E_NOTICE 16 E_CORE_ERROR 32 E_CORE_WARNING 64 E_COMPILE_ERROR 128 E_COMPILE_WARNING 256 E_USER_ERROR 512 E_USER_WARNING 1024 E_USER_NOTICE 6143 E_ALL
2048 E_STRICT 4096 E_RECOVERABLE_ERROR 8192 E_DEPRECATED 16384 E_USER_DEPRECATED
PHP.INI
http://be.php.net/manual/en/errorfunc.configuration.php
error_reporting E_ALL & ~E_NOTICE display_errors 1 error_log NULL
Error Log File
[18-Feb-2009 13:00:46] PHP Parse error: parse error in D:\wamp\www\error.php on line 2
Zend Platform
A part of Zend Platform, called "PHP Intelligence"
ZP Event List
ZP Event Trigger
ZP Event Trigger
Slow Script Execution (Absolute and Relative)Slow Function ExecutionSlow Query ExecutionDatabase ErrorsPHP ErrorsFunction ErrorsExcess Memory Usage (Absolute and Relative) Inconsistent Output SizeLoad AverageAPI for Custom Events
ZP Event Action
EmailUrlSNMP
APM
Alternative PHP MonitorOpen Source Developper Patrick Allaert and Mehttp://code.google.com/p/peclapm/Extension for PHPWrite in CUsing a SQLite databasePHP ErrorMax execution time ...
APM Screenshot
Conclusion
Choose a solutionCheck the quality of your applicationsTake care about your error also after your
development