8 » Historique » Version 2
Patrice Nadeau, 2016-01-10 12:30
| 1 | 1 | Patrice Nadeau | h1. Drupal 8 |
|---|---|---|---|
| 2 | 2 | Patrice Nadeau | |
| 3 | h3. Mise a niveau |
||
| 4 | |||
| 5 | Instructions sur un « upgrade » de la version 7 à la version 8 (*en test*). |
||
| 6 | |||
| 7 | https://www.drupal.org/upgrade/migrate |
||
| 8 | |||
| 9 | Une nouvelle installation de Drupal 8 doit être faite et ensuite une migration vers le nouveau site seras effectué. |
||
| 10 | |||
| 11 | h4. PHP OPcache |
||
| 12 | |||
| 13 | >Module facultatif |
||
| 14 | |||
| 15 | Installation |
||
| 16 | <pre><code class="bash"> |
||
| 17 | zypper install php5-opcache |
||
| 18 | </code></pre> |
||
| 19 | |||
| 20 | Ajouter dans le fichier _/etc/php/apache2/php.ini_ |
||
| 21 | <pre><code class="php"> |
||
| 22 | extension=opcache.so |
||
| 23 | </code></pre> |
||
| 24 | |||
| 25 | Relire la configuration Apache |
||
| 26 | <pre><code class="bash"> |
||
| 27 | systemctl reload apache2.service |
||
| 28 | </code></pre> |
||
| 29 | |||
| 30 | h4. Drupal 8 |
||
| 31 | |||
| 32 | <pre><code class="bash"> |
||
| 33 | # Téléchargement |
||
| 34 | cd /srv/www/htdocs |
||
| 35 | wget http://ftp.drupal.org/files/projects/drupal-8.0.2.tar.gz |
||
| 36 | tar -xvf drupal-8.0.2.tar.gz |
||
| 37 | mv drupal-8.0.2 drupal2 |
||
| 38 | # changement de la securite |
||
| 39 | chown wwwrun:www -R drupal2 |
||
| 40 | </code></pre> |