Riky Lutfi Hamzah


Convey to the people even if it were a single sentence. (Sahih al-Bukhari 3461)

LinkedIn Github Twitter Goodreads Last.fm

Hi Developers! This is the ingredients before you cooking, isn’t it? I made the recipe for you.


Install Apache:

$ sudo yum install httpd

Start Apache service:

$ sudo systemctl start httpd.service

# Start Apache when fedora boot
$ sudo systemctl enable httpd.service

Go to localhost in your favorite browser to check whether the Apache is run or not. To make the Fedora Test Page go away, commenting out the lines in /etc/httpd/conf.d/welcome.conf. Apache configuration file is in /etc/httpd/conf/httpd.conf.


Install PHP:

$ sudo yum install php php-common

Install PHP module:

$ sudo yum install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

Maria DB

Why am I choose Maria DB than MySQL? Check this out Replace MySQL with MariaDB. Install Maria DB:

$ sudo yum install mariadb mariadb-server

Start Maria DB service:

$ sudo systemctl start mariadb.service

# Start Maria DB when fedora boot
$ sudo systemctl enable mariadb.service

Configure Maria DB server:

$ sudo mysql_secure_installation

# And follow the instruction.

And if you a big fan of phpMyAdmin, go ahead install it:

$ sudo yum install phpMyAdmin

Happy coding :)

Your turn to share:

comments powered by Disqus