Public Cloud-old - Comment optimise mon serveur B2-7 pour Drupal 8 ?
... / Comment optimise mon serv...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Comment optimise mon serveur B2-7 pour Drupal 8 ?

Von
KatjaR
Erstellungsdatum 2017-04-12 18:55:03 (edited on 2024-09-04 12:22:46) in Public Cloud-old

Salut,

j'ai un site Drupal 8 sur un serveur B2-7 avec Ubuntu 18.04
Il y a seulement ce site sur ce serveur avec la BDD.

Je veux optimiser MySQL et PHP pour mon site Drupal, mais je ne sais pas comment faire cela pour les caractéristique de mon serveur.

Comment optimiser MySQL ? si je vais sur /etc/mysql/my.cnf (faut il modifier directement ce fichier) le fichier contient :

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#

!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/

Comment optimiser PHP ? si je vais sur /etc/php/7.2/fpm/php.ini (faut il modifier directement ce fichier sachant que j'ai déjà apporté des modifications dedans) le fichier contient :

https://pastebin.com/6XsME4iJ