xampp is currently only available as 32 bit application ubuntu

sudo apt-get install ia32-libs

sudo apt-get install lib32stdc++6

Iklan

Centos update to php 7 & mariadb 10

PHP

yum -y update
php -v
yum install yum-utils
yum-config-manager –enable remi-php72
yum update
systemctl restart httpd
systemctl restart nginx
systemctl restart php-fpm
php -v

MARIADB

mysql -V
mysqldump -uroot -p –all-databases > /opt/database-dump.sql
systemctl stop mariadb
yum remove mariadb mariadb-server mariadb-libs
vi /etc/yum.repos.d/mariadb.repo

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

yum clean all
yum install MariaDB-client MariaDB-server
systemctl enable mariadb
systemctl start mariadb
mysql_upgrade
mysql -V