With any PHP application, fatal errors will occur. Instead of presenting the user a white screen of death, it’s possible to programmatically execute a function just before a PHP completely shutsdown using the PHP function register_shutdown_function. Read more
In PHP there are two options that control what errors are reported and whether these errors are shown to the user. Error reporting sets the error reporting level with an assigned integer, typically via a constant. By default, PHP reports everything except E_NOTICE and E_STRICT prior to PHP 5.4. Read more
In this basic tutorial, I am going to show you how to install and get started with Memcached using PHP.
Memcached is used to improve a web applications performance by storing an associative array of data in its memory. This is typically used to store database query results, therefore reducing the amount of queries to the database server. Read more
Today I am going to show you how to set up Virtual Hosts using XAMPP on a Mac. Using Virtual hosts is a great tool for any website designer during the development stages. The first stage is to edit your hosts file which is stored in the “etc” directory. Quickest and easiest way to do this is by using the terminal. I personally use iTerm – but the default terminal will do the same job.