This process requires Composer version 2.2 and uses Pantheon's current PHP version.Ĭreate a new Drupal site using the "Drupal with Composer" CMS/Start State documentation. Refer to the Drupal release-specific documentation for more information.Ĭomposer will prompt you to add phpstan/extension-installer to your allow-plugins config if you haven't done so already. ![]() If you are not on PHP 8.1 and you don't see the update, refer to Upgrade PHP Versions for instructions on updating your PHP version. The PHP 8.1+ update will show as available to install if you are not already on it. Go to the Site Dashboard and click Settings, and then click PHP version. Use the following command: terminus conversion:upgrade-d10Ĭonfirm that the site uses PHP 8.1 or higher: Upgrade a Drupal 9 site to Drupal 10 using the Terminus Conversion Tools plugin Upgrade a Drupal 9 site to Drupal 10 manuallyĬreate a Drupal 10 site from the Pantheon Dashboard Current Status of Drupal 10 at Pantheon Scenario This page will be updated frequently with the latest information and instructions for Drupal 10 on Pantheon. On the second window, choose the standard installation and click the Save and Continue button.Drupal 10 is now available on the Pantheon platform. Finish the installationĪccess your Drupal website at to finish the installation. Once the Apache service is restarted, you can finish the Drupal installation at Step 8. If the syntax is OK, restart the Apache service. You should receive the following output: apachectl -t ĬustomLog $/access.log combinedĮnable the Apache configuration for Drupal and rewrite the module. Open the file, paste the following lines of code, save the file and close it. ![]() Go into the Apache directory and create a configuration file for the Drupal CMS. Set the right permissions to files and folders. GRANT ALL PRIVILEGES ON drupal.* TO PRIVILEGES īefore we install Drupal, first, we need to download it in the default Apache document root: cd /var/www/html CREATE USER IDENTIFIED BY 'YourStrongPasswordHere' Next, we need to create a Drupal database, a Drupal user, and grant the permissions for that user to the database. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Sat 19:25:52 UTC 1min 2s ago You should receive the following output: sudo systemctl status mariadb Start and enable the rvice with the following commands: sudo systemctl start mariadb & sudo systemctl enable mariadbĬheck the status of the rvice sudo systemctl status mariadb To install the MariaDB database server, execute the command below. To install PHP8.1 with extensions, execute the following commands: sudo apt-get install php8.1 php8.1-cli php8.1-common php8.1-imap php8.1-redis php8.1-snmp php8.1-xml php8.1-zip php8.1-mbstring php8.1-curl libapache2-mod-php Jun 17 16:10:38 systemd: Starting The Apache HTTP Server. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 16:10:39 UTC 1 day 3h ago You should receive the following output: sudo systemctl status apache2 sudo systemctl enable apache2 & sudo systemctl start apache2Ĭheck if the service is up and running: sudo systemctl status apache2 Once installed, start and enable the service. To install the Apache Web server execute the following command: sudo apt install apache2 ![]() sudo apt-get update -y & sudo apt-get upgrade -y Step 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |