Hi Developers! This is the ingredients before you cooking, isn’t it? I made the recipe for you.
Apache
Install Apache:
$ sudo yum install httpdStart Apache service:
$ sudo systemctl start httpd.service
# Start Apache when fedora boot
$ sudo systemctl enable httpd.serviceGo 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.
PHP
Install PHP:
$ sudo yum install php php-commonInstall 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-xmlMaria DB
Why am I choose Maria DB than MySQL? Check this out Replace MySQL with MariaDB. Install Maria DB:
$ sudo yum install mariadb mariadb-serverStart Maria DB service:
$ sudo systemctl start mariadb.service
# Start Maria DB when fedora boot
$ sudo systemctl enable mariadb.serviceConfigure 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 phpMyAdminHappy coding :)
Your turn to share: