Error Handling and Logging

Affecting PHP's Behaviour