Dreamhost
Last updated on
14 August 2024
This documentation needs review. See "Help improve this page" in the sidebar.
Dreamhost does offer shared hosting with "click installs" for Wordpress. At this time Composer is not available to these packages and Dreamhost will recommend the VPS plans.
Dreamhost Plans
- Shared Hosting https://www.dreamhost.com/hosting/shared/#shared-plans
- VPS plans https://www.dreamhost.com/hosting/vps/#vps-plans
Steps to install and Test on a Dreamhost VPS Plan
- Setup a new user on your Dreamhost VPS Basic Plan or use an existing user.
- SSH into your Dreamhost VPS host with your user account and check your php version. Your minimium should be php 8.2.x. See Below notes**
- Create a Domain, Subdomain or use an existing domain and added the new VPS User or existing VPS user to it.
- Need to set up Composer on the User Account. -- see notes**
- Using the install Composer "Install Globally" is a good approach if you are adding more Drupal sites.
- After the steps above check to see if Composer is setup and running.
- Added a Mysql Database VIA the VPS control panel. This cannot be done from a new VPS User but only from the main VPS user account.
- Setup a Drupal project with Composer. Ex: composer create-project drupal/recommended-project my_site
- Go into the new Drupal site directory you created and run these commands: 'composer require drush/drush' and then "composer require 'drupal/project_browser:^2.0@alpha'" (the version will change)
- Had to change the minium stability to beta: "composer config minimum-stability beta"
- Install Drupal through the web browser as normal.
- After installation login and go to the Admin Extend page - /admin/modules
- Use filter box to find 'Package Manager', select it, and click 'Install'.
- Use filter box to find 'Project Browser', select it, click 'Install'. Install the main Project Browser module. You can ignore 'Project Browser Devel' and 'Project Browser Source Example'.
- Select 'Configuration' from the top menu bar. Then, find the Development section and click on 'Project Browser' - /admin/config/development/project_browser
- On the Project Browser settings, the first option will be 'Allow installing via UI (Experimental)''. Tick the checkbox to enable. Click on 'Save configuration'
- Select 'Extend' from the top menu bar. Then click 'Browse' on the submenu under 'Extend' - /admin/modules/browse
- If you do not see the install button but got a warning "Unable to download modules via the UI: The composer executable cannot be found. Make sure it's installed and in the $PATH The composer executable cannot be found. Make sure it's installed and in the $PATH See the help page for information on how to resolve the problem." - /admin/help/package_manager#package-manager-composer-related-faq
- You might need to add composer to the Drupal config as per the /admin/help/package_manager#package-manager-composer-related-faq page.
- Be sure to that Drush is in your .bash_profile file and accessable on the command line or the above will not work.
Notes and Reference Links
- https://www.drupal.org/docs/getting-started/system-requirements/php-requ...
- https://help.dreamhost.com/hc/en-us/articles/215082337-What-versions-of-...
- https://help.dreamhost.com/hc/en-us/articles/214895317-Change-the-PHP-ve...
- https://help.dreamhost.com/hc/en-us/articles/214899037-Installing-Compos...
- https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib...
Help improve this page
Page status: Needs review
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion