Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to set up apache / php/ mysql on a dual boot dell latitude {XP and Fedora 2.4} so I can learn about creating data driven websites. This is my first time using linux and I was unable to determine if these things were already installed, which I thought they would be.
I installed apache and it seemed to go fine, but then had problems with mysql and an error saying it couldn't find Perl DBI.
After more reading I used yum for the first time to update just about everything, then tried a yum install mysql and yum install php. There were no errors, but now I don't know how to check if either of these installed, or test them.
I was able to get to the apache default page, so it looks like that is working. When I put together thet index.php script, I was not able to get that to display through http://localhost/index.php
Yes you may have to add a LoadModule directive, and a IfModule addtype. Its hard to be more specific as distributions setup Apache diffrently plus theres diffrent versions of apache, and of php. Plus you may have some more packages to install.
Can I scrap this and start again? Is there a better way them me sitting here with books and browser windows open wasting the time of somebody half way across the world? It seems that there should be a resaonsalbe way to get this up and running, and that I've done something wrong.
Everything I read gets me about 80% there then says "ok, now that it's working . . ."
With this and the ridiculous time I had getting the ethernet to work {I stopped trying for the wireless long ago}, I've banked a few too many hours. I dont' mind doing the searches or reading the books, but now I don't even know what to search for.
Your probably very close, its probably either just a missing apache-module, or a slight alteration to your configuration, look in /etc/apache2/ and see what files are available.
On Debian it was simply a command to activate the module a2enmod php theres probably a similar command on fedora.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.