I tried to install cakephp on Raspberry Pi but failed to do so. I don't know how to configure LAMP on Rpi. Has anyone successfully done so?

I have developed a cakephp app on Windows running on WAMP server. I would prefer to have it running on a cheap Rpi.

  • Hello and welcome! What OS are you running on the Pi (though it shouldn't make a big difference).
    – Ghanima
    Commented May 25, 2015 at 16:38
  • I am using Raspbian
    – curious
    Commented May 25, 2015 at 22:54
  • LAMP = Linux Apache MySQL PHP; it is not RPiAMP and the exact brand of hardware you are using is irrelevant. You would do this the same way on a laptop, blade server, whatever, which makes it off-topic here. There must be thousands of how-tos and tutorials on-line, as well as a mountain of books around if you are near a library. If you have any trouble with that material, feel free to ask a specific question on Unix & Linux or Stack Overflow as appropriate.
    – goldilocks
    Commented May 26, 2015 at 12:00

1 Answer 1


The normal install procedure;

apt-get install -y php5-cli
curl -s https://getcomposer.org/installer | php

works. What part are you having a problem with?

  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Commented May 26, 2015 at 10:44
  • @SteveRobillard good point, fixed. Commented May 26, 2015 at 14:54
  • I removed the migration portion of your answer. The proper way to handle that would be to vote to close and choose off topic and if it belongs on another SO site indicate that. Commented May 26, 2015 at 15:14
  • @SteveRobillard, That's all well and good but I have never seen a question actually migrated so I like to keep the note in the answer until after it's actually migrated. (also shows I agree it should be migrated vs there being some unexpected hardware specific issue) Commented May 26, 2015 at 15:16
  • 1
    That's what close votes are for, which you are entitled to cast. We don't have that big a community, and getting the prerequisite 5 votes may take some time unless a moderator (or someone with a gold badge on one of the tags) votes, which is decisive. As a mod I sometimes feel this is heavy handed, so I have to refrain from voting, but I will start going through the review queue (something you can do too) more often looking for particularly bad examples.
    – goldilocks
    Commented May 26, 2015 at 16:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.