Includes free SSL certificate, unlimited bandwidth & fully optimised for WordPress.
Fully PCI-DSS compliant hosting, backups every 6 hours & free DDoS protection.
Unlimited bandwidth, WHM & cPanel control panel & fully white label.
Great value domain names available.
Create a professional looking website in minutes. Over 190 templates.
Speed up the delivery of your site.
Beautifully Simple. Massively Configurable. Scales from 1 VPS cloud, all the way up to a load balanced cluster.
Fully managed, high-spec dedicated servers deployed on our gigabit network, backed by our superior 24/7 UK support.
Instantly talk to one of our support team, we're here to help.
For our clients only. Open a ticket you can track and reply to.
Monday–Friday 9am – 8pm we're ready to assist you.
We pride ourselves on offering a hosting support service like no other; polite, knowledgeable & fast.
This article will show you how to centralise the reporting of PHP errors to a single error_log. This can make debugging a much more pleasant experience.
Define a central error_log
Most websites load a configuration file or header file before anything else. Quite often, this is called index.php and it lives in the public_html directory. Simply add the following lines of code immediately after the opening <?php tag
Simply replace [cpanel_username] with your cPanel username e.g. if your username was krystald you would add:
This will cause all errors to be recorded into error_log in your home directory.
Remember, there may be parts of your website (maybe the administration section) that don't load the index.php file in public_html, so you may have to add this directive to other initiation scripts to capture everything.