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

Steps to install and Test on a Dreamhost VPS Plan

  1. Setup a new user on your Dreamhost VPS Basic Plan or use an existing user.
  2. 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**
  3. Create a Domain, Subdomain or use an existing domain and added the new VPS User or existing VPS user to it.
  4. Need to set up Composer on the User Account. -- see notes**
  5. Using the install Composer "Install Globally" is a good approach if you are adding more Drupal sites.
  6. After the steps above check to see if Composer is setup and running.
  7. 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.
  8. Setup a Drupal project with Composer. Ex: composer create-project drupal/recommended-project my_site
  9. 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)
  10. Had to change the minium stability to beta: "composer config minimum-stability beta"
  11. Install Drupal through the web browser as normal.
  12. After installation login and go to the Admin Extend page - /admin/modules
  13. Use filter box to find 'Package Manager', select it, and click 'Install'.
  14. 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'.
  15. Select 'Configuration' from the top menu bar. Then, find the Development section and click on 'Project Browser' - /admin/config/development/project_browser
  16. On the Project Browser settings, the first option will be 'Allow installing via UI (Experimental)''. Tick the checkbox to enable. Click on 'Save configuration'
  17. Select 'Extend' from the top menu bar. Then click 'Browse' on the submenu under 'Extend' - /admin/modules/browse
  18. 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
  19. You might need to add composer to the Drupal config as per the /admin/help/package_manager#package-manager-composer-related-faq page.
  20. Be sure to that Drush is in your .bash_profile file and accessable on the command line or the above will not work.

Help improve this page

Page status: Needs review

You can: