The standard term for a PHP configuration file is php.ini. However, DreamHost uses the term "phprc" file instead. This acts the same way – only the name is different. In this article, only the term phprc is used.
PHP Loaders are extensions to PHP which load special types of PHP files. You must modify your phprc file to activate the loader required by your special PHP files. Below are links to pages that provide further instructions on installing and using the various PHP loaders:
Creating a phprc file
View the following articles for instructions on how to create a phprc file.
If the file already exists, view the following articles for instructions on how to update it (depending on if you're using an FTP client or SSH):
Loading PHP extensions
Depending on which version of PHP you choose to use, you may notice certain extensions are not enabled by default (for example, phar).
To load an extension, add the following line your phprc file (view the links above for instructions on how to create and edit a phprc file):
extension = phar.so
Compiling PHP extensions
Visit the following links for a list of available extensions:
If any installation requires sudo privileges, you must upgrade to a Dedicated server.
If any installation requires you to run 'phpize', just specify the full path to your desired version of PHP. For example, for PHP 5.6 run the following: