What versions of PHP are available at DreamHost?

DreamHost pre-installs the following versions of PHP on its servers:

Please note that PHP versions continually update. View the following page for a timeline of PHP versions:

Default PHP version on a shared web server

When you run the command "php -v" in a shell terminal when logged into your server, the output displays the current default version used.

[server]$ php -v

If you wish to use a different PHP version in the Shell, you’ll need to specify the full file path. Use the following for PHP 5.6:

[server]$ /usr/local/php56/bin/php -v 

PHP 5.6.10 (cli) (built: Jun 15 2015 23:34:39)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

See also

Did this article answer your questions?

Article last updated .