sudo apt-get install nginx
sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-mysql
sudo apt-get install php7.0-curl
sudo apt-get install php7.0-xml
sudo apt-get install php-imagick
sudo apt-get install sendmail
sudo apt-get install php7.0-imap
sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-mysql
sudo apt-get install php7.0-curl
sudo apt-get install php7.0-xml
sudo apt-get install php-imagick
sudo apt-get install sendmail
sudo apt-get install php7.0-imap
sudo apt-get install mariadb-server mariadb-client
/etc/init.d/php7.0-fpm restart
sudo /etc/init.d/nginx restart
если вываливается ошибк аконекта с базой мариа
error connection
check this file:
/etc/mysql/mariadb.conf.d $ nano mysqld.cnf
verify if exist this line:
plugin-load-add = auth_socket.so
then go to MariaDB
sudo mysql -u root
and make this:
MariaDB [(none)]>use mysql;
MariaDB [(none)]>update user set plugin=' ' where User='root';
MariaDB [(none)]>flush privileges;
MariaDB [(none)]>exit
/etc/init.d/php7.0-fpm restart
sudo /etc/init.d/nginx restart
если вываливается ошибк аконекта с базой мариа
error connection
check this file:
/etc/mysql/mariadb.conf.d $ nano mysqld.cnf
verify if exist this line:
plugin-load-add = auth_socket.so
then go to MariaDB
sudo mysql -u root
and make this:
MariaDB [(none)]>use mysql;
MariaDB [(none)]>update user set plugin=' ' where User='root';
MariaDB [(none)]>flush privileges;
MariaDB [(none)]>exit
Комментариев нет :
Отправить комментарий