Improve VM performance

* optimize configuration of Apache and MySQL
* log PHP errors from vHost in Apache log directory