Hosting Infrastructure Audit

The Basics

First things first, let's find out where everything's hosted, including DNS

https://www.robtex.com/



Server Audit:


ItemHow To Find
Basic
Web Server

Check the admin/reports/status for Web Server.

If Apache, run this to get exact version:

/usr/local/apache/bin/httpd -v

If Nginx, run:

nginx -v

Database

mysql --version

PHP Version

php --version

PHP Memory Limit

php -r "phpinfo();" | grep "memory_limit"
Security

SSH Access

Examine the hosting service; most services do have this.

SSH Key

Make sure they are using SSH keys for accounts instead of or in addition to a password.
 Performance

Reverse Proxy

Ex: Varnish.

On some Linux Distros you can see if varnish exists by running

service --status-all


On CentOS and other similar Linux Distros, you can check /usr/sbin for services. Or Run:

/usr/sbin/varnishd -V


Otherwise, may have to examine the service plan.

Key-Value Store

Ex: Memcache/Redis:

service --status-all

Also, you can check the modules page and see if memcache / redis is installed and configured properly.

Apache Solr

service --status-all OR examine Drupal search settings (should have Apachesolr module and/or Search API)

drush pml --no-core --type=module --status=enabled | grep solr


OpCode Cache

Ex: APC.: 

service --status-all

Also running php -v will give you something like: 

# php -v
PHP 5.5.23 (cli) (built: Apr 2 2015 16:21:21) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies

The last line will tell you the APC/OPCache