PHP test doesn't work after successfully installing Apache, MySQL, PHP
Hi all, well i'm sick of banging my head against a wall trying to figure this one out (even though headbanging is cool, especially to old Metallica).
I got the following to install perfectly:
# yum install httpd
# yum install mysql-server mysql
# yum install php
I set the following up (logged in as root) with no errors:
systemctl enable httpd.service
systemctl start httpd.service
systemctl start mysqld.service
Then I put the following one-line file in place, with the line being <?php phpinfo(); ?>
Now I go to http://localhost and it still displays the "Fedora Test Page" screen, its supposed to display the PHP variables.
---------- Post added at 09:14 PM ---------- Previous post was at 08:51 PM ----------
Hi, this worked after I rebooted my machine, so its solved now.
|All times are GMT +1. The time now is 01:42 PM.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.