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

PHP 5.2.17 - running as CGI

PHP 5.2.17 - 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-echo) is running MySQL 5.1.39 and MySQL 5.1.39

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