Install Apache+PHP 5.6 Centos 7

Install Apache+PHP 5.6 Centos 7 – Artikel kali ini akan membahas cara Install Apache+PHP 5.6 Centos 7

Untuk artikel cara Install Apache Centos 7, anda bisa melihat nya disini.

Install PHP 5.6 Centos 7

Update Repository

Install EPEL & Remi Repository

Install PHP5.6

Cari lokasi file php.ini dengan perintah berikut:

Selanjutnya buka file php.ini dan edit baris-barisnya seperti contoh berikut:

Simpan file php.ini dan kemudian restart Apache dengan perintah berikut:

Configure Firewall

Cek PHP Version

Testing PHP 5.6

Buat file test-info.php pada DokumentRoot, seperti berikut:

Buka file test-info.php melalui browser kesayangan anda dengan URL http://192.168.3.103/test-info.php

Install Apache+PHP 5.6 Centos 7 - PHP Info
Install Apache+PHP 5.6 Centos 7 – PHP Info

Sampai disini cara Install Apache+PHP 5.6 Centos 7 sudah selesai.

Semoga bermanfaat.

Dewaweb Gives Your Website Only the Best!

You may also like...

2 Responses

  1. Jose says:

    I get this message:
    Loaded plugins: fastestmirror, universal-hooksLoading mirror speeds from cached hostfile * EA4: 104.254.183.20 * cpanel-addons-production-feed: ###.###.###.###
    * cpanel-plugins: ###.###.###.###
    * base: centos.mirror.globo.tech
    * epel: epel.mirror.constant.com
    * extras: centos.mirror.globo.tech
    * remi-php55: repo1.ash.innoscale.net
    * remi-php56: repo1.ash.innoscale.net
    * remi-safe: repo1.ash.innoscale.net
    * updates: less.cogeco.net
    No package php available.
    No package php-mcrypt available.
    No package php-cli available.
    No package php-gd available.
    No package php-curl available.
    No package php-mysql available.
    No package php-ldap available.
    No package php-zip available.
    No package php-fileinfo available.
    Error: Nothing to do

Leave a Reply

Your email address will not be published. Required fields are marked *