Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 766509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T17:03:33+00:00 2026-05-14T17:03:33+00:00

I am new to Cakephp, and very excited to learn it. I read the

  • 0

I am new to Cakephp, and very excited to learn it.

I read the docs, downloaded the files, place it on my www root folder. (I am using WAMP).

My question is, can I download 1 cakephp and do for multiple projects, for example I put my cakephp at %webroot%, so my to call my projects:

[http://localhost/cake/project1%5D

[http://localhost/cake/project2%5D

And so on.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T17:03:33+00:00Added an answer on May 14, 2026 at 5:03 pm

    You can have as many Cake projects as you want on your server. The easiest is to just all put them in their separate subfolders.

    webroot/
        project1/
            app/
            cake/
            vendors/
        project2/
            app/
            cake/
            vendors/
    

    A little more advanced technique is to separate the app and cake directories:

    cake/
    webroot/
        app1/
            controllers/
            ...
            webroot/
                index.php
        app2/
            controllers/
            ...
            webroot/
                index.php
    

    You will need to edit the app/webroot/index.php files to point to the correct location of the cake/ directory, which you can keep anywhere you want.

    Even better, and the recommended setup for your live production server, is to separate the cake, app and webroot directories. This way you can even have several applications that share a common cake folder.

    cake/
    app1/
        controllers/
        ...
    app2/
        controllers/
        ...
    webroot/
        app1_webroot/
            index.php
        app2_webroot/
            index.php
    

    In this case, you’re only ever exposing the contents of the app/webroot/ directory to the public, while the cake library and the actual app files remain in a different directory not visible to the public. All you need to do is edit the paths in the app/webroot/index.php file to point to the correct directories.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the new CakePHP 2.1 and would like to use the JsonView to
I am using cakePHP and is making a very simple message board. I came
I'm new to cakephp. I'm using the 2.0.5 release, according it looks like rails
i'm very new to this cakephp & i got an assignment to fix an
I'm very new to CakePHP. I want to do a query in my database
im struggling with my cake code(very new to cakephp) and was after some help.
I am quite new at cakephp despite using it several years ago in the
I'm new with CakePHP and can't figure out how to call the read() method
I've about to start work on a new web project using CakePHP 2.2, having
i am very much new to cakephp. I have created a simple form with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.