Linux.com

Author Message
Joined: Oct 12, 2008
Posts: 12
Other Topics
Posted Oct 12, 2008 at 3:09:06 PM
Subject: php/MySQL

I have been told that all distros come with php/MySQL installed. I cannot find them. Where do I start? I'm just now learning php and MySQL so I'm not real familiar with them.

Back to top Profile Email Website
PerlCoder
Joined Jun 30, 2008
Posts: 95

Other Topics
Posted: Oct 12, 2008 7:47:14 PM
Subject: php/MySQL

Do they? I didn't know that.

I know they are very easy to get though for distributions that use debian package management (such as Debian and Ubuntu). In Debian Lenny, "sudo apt-get install mysql-client mysql-server" will get you MySQL and "sudo apt-get install php5" will get you PHP. (Or switch to root and leave out "sudo" if you haven't set up sudo).

Just name the distro that you are using, and I'm sure we will be able to point out the right package for you.

PerlCoder (http://www.indicium.us)

Back to top Profile Email Website
PerlCoder
Joined Jun 30, 2008
Posts: 95

Other Topics
Posted: Oct 12, 2008 7:56:51 PM
Subject: php/MySQL

Oh, and if you install Apache2 (for your web-server) I think you automatically get the PHP packages it needs to read the PHP inserted into your xhtml. (I installed apache on my laptop for a class and it processes the PHP just fine.)

PerlCoder (http://www.indicium.us)

Back to top Profile Email Website
gigman7
Joined Oct 12, 2008
Posts: 12

Other Topics
Posted: Oct 12, 2008 11:54:56 PM
Subject: php/MySQL

Someone showed me how to do it. Thanks.

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya