PHP at DreamHost

DreamHost Promo Code

Sign up for any of the shared hosting plans this week and get either the setup fee waived (monthly plans) or a $50 discount on your first hosting bill (yearly plans). Use coupon PCN.

PHP version & phpinfo()

DreamHost currently allows several PHP configurations. In the user Control Panel you can choose between PHP4 and PHP5 running as a CGI application (with optional FastCGI support). While it's no longer officially supported you currently still have the possibility to have PHP running as an Apache module (mod_php).

Finally you have the option to compile your own custom PHP with the exact version of PHP you wish and with any module you require.

PHP 404 Not Found

Not Found

The requested URL /cgi-system/php.cgi/php4-apache/phpversion.php4 was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

- running as an Apache module

PHP 5.5.38 - running as CGI

PHP 5.5.38 - running as CGI/FastCGI

MySQL version

All new MySQL databases being created will be version 5 (with support for stored procedures, triggers, cursors, views etc.). Current customers might still be running MySQL 4, but will soon be able to upgrade to MySQL 5.

This server (ps23979) is running MySQL 5.6.25 and MySQL 5.6.25

DreamHost Knowledge Base

What's the difference between PHP-CGI and PHP as an Apache module?
How do I switch my PHP between running as a CGI and an Apache module?
Compiling your own custom PHP

DreamHost Wiki



Ruby on Rails at DreamHost