Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a server with Slackware 9.1 installed on it. When I installed I made sure I installed all packages (including mySQL, PHP, and Apache). I started reading stuff about mySQL and PHP and decided to install them. So I used pkgtool to get rid of the original installations of these and then downloaded and compiled new versions of these. While I was trying to configure PHP (./configure --with-apache=/usr/local/apache --with-mysql=/usr/local/mysql) I got an error message saying that it couldn't find a valid apache installation or something. So then I decided to just re-install what was on the Slackware disc and now I don't know what to do. I know apache is running because I can see my webpage, but I can't tell if mySQL is working or not. I guess I would like to know how to do that. When I run "mysql" I get an error saying it can't open a mysql sock in /tmp/mysql.sock or something. Any suggestions?
P.S. I'm a complete newb when it comes to mySQL and PHP so be gentle.
fuelinjection: I tried the LAMPP installation and it went flawlessly. I did it remotely because I'm at work. One problem. My ISP blocks port 80. I edited my httpd.conf file and put it to a port that wasn't being used and was open on my firewall and I got nothing. I'm not sure if it's something the IT department did here (at work) or what. Anyway I flushed my iptables thinking that would work and now I can't even ssh into my box anymore. WTF?
Thanks for the suggestion to use LAMPP, though. It seems to be what I need! Thanks fuelinjection!
mm..if you want to fix the original problem, about not being able to parse php, check your httpd.conf for a line like
Application type .php....or something like that [can't remember exactly what it's like]