Trouble installing PHP with Apache Webserver on Fedora 20

Kimberly_B
Kimberly_B used Ask the Experts™
on
Hi,

My husband installed a new Fedora (20) OS on my desktop computer.  This is my MySQL and PHP development box for my website.

He installed Apache Webserver on the new OS with difficulty, and PHP.  The PHP does not work.  When I try to access my local php files via a browser (i. e. localhost/myfile.php), I get this error message:

"500 Internal Server Error: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

He has run out of ideas.  Does anyone have any suggestions, please?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
Did you install the components separately or using LAMP?

If separately then consider downloading and installing LAMP.
Fixer of Problems
Most Valuable Expert 2014
Commented:
You should have installed them from the Package manager which will install them with the correct parameters and file locations.  They are not the same on all versions of Linux.  The Package Manager will install versions that are configured for Fedora.  Here are the command line instructions:  https://www.digitalocean.com/community/articles/how-to-install-lamp-linux-apache-mysql-php-on-fedora   See here for 'yum':  https://fedoraproject.org/wiki/Yum  If you have a GUI package manager like Ubuntu does, that would be even easier.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial