Solved

Trouble installing PHP with Apache Webserver on Fedora 20

Posted on 2014-02-25
2
534 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 52

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now