Tag Archives: CentOS

Install PHP 7 Centos 7

Run the following command s in the given order

yum -y update

yum -y install epel-release

yum install -y http://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release-1.0-14.ius.centos7.noarch.rpm

yum -y update

yum -y install php71u php71u-pdo php71u-mysqlnd php71u-opcache php71u-xml php71u-mcrypt php71u-gd php71u-devel php71u-mysql php71u-intl php71u-mbstring php71u-bcmath php71u-json php71u-iconv php71u-soap

service httpd restart

php -v
Share

The requested URL /magento/admin/ was not found on this server magento 2

Edit apache configuration file and modify as follows. As per my installation, configuration file is /etc/httpd/conf/httpd.conf

<Directory /var/www/>
     Options Indexes FollowSymLinks
     AllowOverride None
     Require all granted
</Directory>

To

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>
Share