Outils pour utilisateurs

Outils du site


install:nginx-php7-fpm

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
install:nginx-php7-fpm [2017/08/10 16:30]
linkuff
install:nginx-php7-fpm [2017/10/02 14:50]
linkuff
Ligne 63: Ligne 63:
  
  location ~* ^.+.(css|js|xml|jpg|gif|png|svg|ico|swf|flv|mp3|mp4|ogg|webm|eot|woff|ttf)$ {  location ~* ^.+.(css|js|xml|jpg|gif|png|svg|ico|swf|flv|mp3|mp4|ogg|webm|eot|woff|ttf)$ {
- root /home/ftp/calydiag.fr/www;+ root /var/html/linkuff.com/www;
  expires max;  expires max;
  }  }
Ligne 95: Ligne 95:
 <code>vi /etc/php/7.0/fpm/php-fpm.conf <code>vi /etc/php/7.0/fpm/php-fpm.conf
 listen.backlog = 65535</code> listen.backlog = 65535</code>
 +
 + * Accès MySQL depuis l'extérieur :
 +<code>mysql> CREATE USER 'user_ext'@'localhost' IDENTIFIED BY 'some_pass';
 +mysql> GRANT ALL PRIVILEGES ON *.* TO 'user_ext'@'localhost' WITH GRANT OPTION;
 +mysql> CREATE USER 'user_ext'@'%' IDENTIFIED BY 'some_pass';
 +mysql> GRANT ALL PRIVILEGES ON *.* TO 'user_ext'@'%' WITH GRANT OPTION;</code>
install/nginx-php7-fpm.txt · Dernière modification: 2018/05/01 14:58 de linkuff