Default PHP settings at DreamHost

Overview

DreamHost lets you choose from several versions of PHP, each with its own default settings that you can view or adjust. This article lists which PHP versions are available in your panel, shows you how to view your site's current PHP settings, and explains how to adjust them using a custom phprc configuration file.

If your existing site is not compatible with currently supported versions of PHP, PHP Extended Support will be automatically applied if an upgrade fails:

How do I view my default PHP settings?

Each version of PHP has several default settings you can view by creating a phpinfo.php file. This is a simple PHP file that you can add to your website. When you view the page, it displays the default PHP settings configured on your domain. View the following article for steps on how to create this file:

How do I adjust my default PHP settings?

You are able to adjust the default PHP settings by creating a custom phprc file. This is a custom configuration file that allows you to adjust specific values. View the following articles for steps on how to create this file via FTP or SSH:

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?