yum remove httpd
yum clear everything
Step1: install Fedora 19
Step2: install the repository
rpm -Uvh http:
Step 3. Install Apache (httpd) web server and PHP 5.5.9
yum --enablerepo=remi install httpd php php-common
Step4: Install PHP 5.5.9 Modules
yum --enablerepo=remi install php-pecl-apc 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
Step 5: enable the service and run its systemctl enable httpd.service
/etc/init.d/httpd start
OR service httpd start ## use restart after update
Step 6: Create a PHP test page to verify that the Apache, PHP, and PHP modules are working.
add test page to /var/www/html/test.php file and run using localhost/test.php
source share