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).

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 4.4.7 - running as an Apache module

PHP 4.4.8 - running as CGI

PHP 5.2.3 - 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 (apache2-quickbrownfox) is running MySQL 4.1.16 and MySQL 5.0.24a

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

PHP
MySQL

Links

PHP
MySQL
Ruby on Rails at DreamHost