User avatar
gdw35
Posts: 29
Joined: Thu Nov 15, 2012 10:46 am
Location: Paris, France

Any tutorial to set up Apache, PHP and MySQL on RPi

Sat Mar 09, 2013 12:17 pm

I was hoping that someone could point me in the right direction for a tutorial on how to set up a web server (pref. apache), PHP and MySQL on my Pi. The fusionstrike tutorials that are pointed to from the tutorial list on http://elinux.org/RPi_Tutorials no longer exist.

I am learning web application development at Uni and I wanted to setup a server at home to test out what I am learning, as well as test my assignments on. My linux skills are quite rusty but if pointed in the right direction I can usually muddle my way through.

TIA

poing
Posts: 1132
Joined: Thu Mar 08, 2012 3:32 pm

Re: Any tutorial to set up Apache, PHP and MySQL on RPi

Sat Mar 09, 2013 12:25 pm

That's annoying although you can google "debian install apache2" etc.

The quick and easy way: http://www.raspberrypi.org/phpBB3/viewt ... 66&t=31408

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: Any tutorial to set up Apache, PHP and MySQL on RPi

Sat Mar 09, 2013 12:25 pm

Here's a link with instructions http://elinux.org/RPi_Apache2

Here's a fairly recent thread on it as well. http://www.raspberrypi.org/phpBB3/viewt ... 66&t=24495
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

User avatar
gdw35
Posts: 29
Joined: Thu Nov 15, 2012 10:46 am
Location: Paris, France

Re: Any tutorial to set up Apache, PHP and MySQL on RPi

Sun Mar 10, 2013 1:09 am

Thanks for your replies, I was able to find all the information I needed. I have now set up apache2, php5 and mysql on my Pi and it works great :D :D . I also set up vsftp.

Later today I will put it though its paces when I try to load one of my assignments from last semester on to the server as a test.

User avatar
gdw35
Posts: 29
Joined: Thu Nov 15, 2012 10:46 am
Location: Paris, France

Re: Any tutorial to set up Apache, PHP and MySQL on RPi

Sun Mar 10, 2013 2:36 am

Success!!!!

I loaded one of my assignments from last year onto my Pi and it works great (using PHP and MySQL). I now have myself a great little test platform to use for the rest of my course.

BTW also installed phpmyadmin which works really well and takes the pain out of setting up and managing the databases.

Return to “Networking and servers”