Script runs but if i remove mysql and install mariadb then it doesnt do wizzard and also
sh /root/install.sh -b LEMP -m
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
and also post-wizzard has error Warning! An error occurred starting MySQL :
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
That’s a php option set on the php options tab of the server configuration of each Virtual Server. Go to the Virtual Server / Server Configuration / PHP Options and you’ll see the mode selection there.