Replace Apache with Nginx.
Add PHP GD and SSH libraries.