Fix vhost for images and install php-mysql.