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-php71

Step3. Install packages

yum install   php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd  php-intl httpd*  php-fpm php-gd php-json php-mbstring php-mysqlnd php-xml php-xmlrpc php-op elinks -y

Step4. Download and setup composer

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

Step5. Download tool via composer

cd /var/www/html
composer require slim/slim "^3.0"

Step6. Create file

cd /var/www/html/slim
vi index.php
Hello Slim

Step7. Create virtualhost file

vim  /etc/httpd/conf.d/slim.conf
<VirtualHost *:80>
        ServerAdmin localhost
        DocumentRoot /var/www/html/slim 
        <Directory /var/www/html/slim>
            Options all
            AllowOverride all

Step8. Set permission

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

Step9. Enable and start service

systemctl enable httpd
systemctl start httpd

Step10. Access via browser

php -S  localhost:8000

For Live Installation you may refer below youtube link:-


Please enter your comment!
Please enter your name here