Solved

Trouble installing PHP with Apache Webserver on Fedora 20

Posted on 2014-02-25
2
536 Views
Last Modified: 2014-03-01
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?
0
Comment
Question by:Kimberly_B
2 Comments
 
LVL 54

Assisted Solution

by:Julian Hansen
Julian Hansen earned 250 total points
ID: 39886216
Did you install the components separately or using LAMP?

If separately then consider downloading and installing LAMP.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39886455
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.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question