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 596755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:12:22+00:00 2026-05-13T16:12:22+00:00

I run multiple websites all running off of a single installation of CodeIgniter on

  • 0

I run multiple websites all running off of a single installation of CodeIgniter on my server (separate application directories and a single system directory). This has been working fabulously and I don’t see any reason to change it at this point.

I find myself writing library classes to extend/override CI all of the time and many times if I find a bug or improve effeciency I have to go back to several websites to make the same adjustments at risk of a typo that breaks one of the websites. Because of this it requires that I change each file and then test that site for bugs.

I have been pondering a solution of using a single libraries directory in a central location and symlinking all of my websites to that central directory. Then when I make a file change it will immediately propagate to all of the downstream websites. It will still require that I test each one for errors, but I won’t have to make the changes multiple times. Anything that is specific to a single website will either be a non-shared file (still in the linked directory just not used elsewhere) or can be put in a local helper.

Also, I keep separate ‘system’ directories by CI version so I can migrate my websites independently if necessary–this central libraries file would be attached to a specific version to reduce possible breaks.

Does anyone see potential issues or pitfalls from taking this approach? Has anyone accomplished this in another direction that I should consider?

Thanks in advance!

  • 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-13T16:12:22+00:00Added an answer on May 13, 2026 at 4:12 pm

    I think this actually makes sense :] Go for it. Even on official CodeIgniter page, they mention it’s possible.

    Also, I don’t see one reason why there should be any problem.

    Edit: they touch the problem of multiple sites here: http://codeigniter.com/user_guide/general/managing_apps.html

    also:

    http://codeigniter.com/wiki/Multiple_Applications/

    http://www.exclusivetutorials.com/setting-multiple-websites-in-codeigniter-installation/
    How to Handle Multiple Projects in CodeIgniter?
    http://codeigniter.com/forums/viewthread/56436/

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

Sidebar

Related Questions

Do I need to have separate/multiple workers to run multiple websites (each with a
I have multiple websites run on single database. My question related table Structure is
I am trying to get a magento installation to run multiple websites I have
We run multiple websites which use the same rich functional backend running as a
Given multiple websites all running the same sourcecode, what's the best/most maintainable way to
I would like to run multiple websites, and I would like each website (differentiated
I want to run multiple instances of apache on one single machine? How to
I have a web application that runs multiple websites from one codebase. I have
Is it possible to a single database across multiple websites on different servers? What
I've run across this sort of thing on multiple websites and was wondering what

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.