It’s PHP framework tool

Package Requirements:-

PHP:- 5.4 or above
apache:- 2.0 or above
MariaDB:- 5.6 or above

Step1:- Install repositories

yum install epel-release yum-utils -y
yum install -y

Step2. Enable repository

yum-config-manager --enable remi-php70

Step3. Install packages

yum install php php-common php-opcache php-mcrypt php-cli php-gd -y
yum install php-curl php-mysqlnd  php-intl php-xml php-mbstring php-devel php-zip php-git httpd* elinks -y

Step4. Add entry in httpd.conf file

AllowOverride ALL 

Step5. Enable and start service

systemctl enable httpd
systemctl start  httpd

Step6. Download and setup composer

curl -sS | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer

Step7. Run composer

cd /var/www/html
composer self-update
composer global require "fxp/composer-asset-plugin:^1.3.1"
composer create-project --prefer-dist yiisoft/yii2-app-basic

Step8. Set permission

chown -R apache:apache /var/www/html/*
chmod 755 -R  /var/www/html/*

Step9. Run application

php yii serve

Step10. Access via browser


For Live Installation you may refer below youtube link:-


Please enter your comment!
Please enter your name here