It’s php framework tool

https://www.youtube.com/watch?v=r5HoDN99ai8

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 http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y

Step2. Enable repository

yum-config-manager --enable remi-php70 

Step3. Install packages

yum install php php-common php-opcache php-mycrypt php-cli  -y
yum install php-curl php-mysqlnd php-gd php-intl httpd*   elinks -y

Step4. Download and setup composer

curl -sS https://getcomposer.org/installer | php  
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer

Step5. Create project

cd /var/www/html
composer require silex/silex "~2.0"
composer create-project fabpot/silex-skeleton app/

Step6. Add entry in php.ini file

vi /etc/php.in
timezone = "Asia/Calcutta"

Step7. Create virtualhost file

vim /etc/httpd/conf.d/silex.conf
<VirtualHost *:80>
          ServerName 192.168.72.130    
          DocumentRoot /var/www/html/app/web
          <Directory /var/www/html/app/web>
             DirectoryIndex index.php
             AllowOverride All
          </Directory>
</VirtualHost>

Step8. Set permission

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

Step9. Add entry in httpd.conf file

Allowoverride ALL

Step10. Enable and start service

systemctl enable httpd
systemctl start  httpd 

Step11. Access via browser

cd /var/www/html/app
php -S localhost:8080 -t web web/index.php
or
http://localhost
or
http://ip
or
http://localhost:8080

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=r5HoDN99ai8

LEAVE A REPLY

Please enter your comment!
Please enter your name here