edit install script to only install 5.5/5.6 and mariadb

Started by mehargags, January 18, 2015, 01:47:48 PM

Previous topic - Next topic

mehargags

Hi,
is there a way to completely AVOID installing PHP 5.4 and have 5.5/5.6 instead in the default install ?

I notice in the install script:
Line 155: wget -q http://dl1.centos-webpanel.com/files/c_scripts/php-5.4-cwp.sh
Line 157: wget -q http://dl1.centos-webpanel.com/files/c_scripts/php-5.4.sh


Do you have a 5.5/5.6 package that can be called in by the script?

Same for the Mariadb
Line 91: yum -y install make rsync mysql-server at mysql-devel bzip2-devel zip git pure-ftpd unzip cronie
Line 91: yum -y install make rsync mysql-server at mysql-devel bzip2-devel zip git pure-ftpd unzip cronie

Can I replace it with Mariadb instead ?

pls give me an insight. Good Work on the Panel though! I like the gui alot. Just giving it a good try for custom packages, as seasoned admins would love to have some custom pkg for performance.

Administrator

after installation of CWP is done then you can make the custom modifications according to your needs

mehargags

so you mean I remove MySql and install mariadb with Yum ? and remove PHP 5.4 & 5.5 and install 5.6 alone ? will the CWP be able to detect it properly ? and configure the domains correctly ?

vladi246

1- Yes, just add repository of MariaDB and install via yum and all should be fine.
2- For php, via your admin panel, you have PHP Version Switcher where you can up your server UP to 5.5.11

I hope I answered your questions

Cheers
Quote from: mehargags on January 19, 2015, 09:13:29 PM
so you mean I remove MySql and install mariadb with Yum ? and remove PHP 5.4 & 5.5 and install 5.6 alone ? will the CWP be able to detect it properly ? and configure the domains correctly ?

Administrator

you don't need to remove mysql, you only need to upgrade it, and yes you can use mariaDB repo.