Overview
This article answers frequently asked questions about PHP at DreamHost — including which PHP versions are supported, how to configure a custom php.ini file, how to check which PHP version your site is using, and how to enable PHP error logging.
FAQs
What versions of PHP does DreamHost support?
View this article for a list of current PHP versions supported at DreamHost. Please note that PHP versions continually update and will change over time in the panel. View the following page for a support timeline of PHP versions:
Can I configure a custom php.ini?
Yes. See this article for details on how to configure this for your site.
What version of PHP is my site using?
To view your PHP settings, you can create a file named phpinfo.php and upload it to your site. For instructions, see this article.
Do you offer PHP error logging?
Yes. However, by default, PHP errors are not logged. You can enable and set the path to PHP logging with the phprc file. See the PHP error logging article for details.