PDA

View Full Version : easy way to do php/phpmyadmin/mysql



ELD
May 30th, 2007, 05:29 PM
Basically i wish to test php scripts i have made on my ubuntu install, is there an easy way to have php/phpmyadmin and all that?

Thanks guys.

mech7
May 30th, 2007, 05:45 PM
http://www.apachefriends.org/en/xampp.html

ELD
May 30th, 2007, 05:47 PM
Sorted, thanks a lot!

ticopelp
May 30th, 2007, 05:52 PM
sudo apt-get install apache
sudo apt-get install mysql-server

http://ubuntuguide.org/wiki/Ubuntu:Feisty#Apache_HTTP_Server
http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_install_MYSQL_Database_Server

Much more elegant and reliable than Xampp in my opinion.

tehbeermang
May 30th, 2007, 06:38 PM
Applications -> add/remove programs -> search for "Apache", click the box next to the package you need, select "mark for installation" on the resulting menu. It will say "you also need these libraries" and might warn you about packages that do not fall under the GPL.

Repeat for MySQL, PHP, and phpmyadmin.

I had it up and running in an hour, and I'm pretty green in terms of Linux experience.