Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # php -v
- # apt-get remove php7.0
- # apt-get purge php7.0-common
- # apt-get remove --auto-remove php7.0
- # apt-get update && apt-get upgrade
- # apt-get install software-properties-common
- # add-apt-repository ppa:ondrej/php
- # apt-get update
- # apt-get install php7.2
- # php -v
- # apt-get install php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml
- # systemctl restart apache2
- # sudo apt-get install mysql-server
- # mysql_secure_installation
- # apt-get install phpmyadmin php-mbstring php-gettext
- # phpenmod mcrypt
- # phpenmod mbstring
- # systemctl restart apache2
- # apt-get install mariadb-server
- # mysql -u root -p
- > USE mysql
- > UPDATE user SET plugin='mysql_native_password' WHERE User='root';
- > FLUSH PRIVILEGES;
- > SET PASSWORD FOR 'root'@'localhost' = PASSWORD('New-Password');
- > quit
- if database connection error http://avistudcorp.blogspot.com/2017/02/mengatasi-connection-for-controluser-as.html
- if error 404 permalink module do :
- - edit .htaccess (module ON)
- - a2enmod rewrite && service apache2 restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement