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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:54:41+00:00 2026-06-17T12:54:41+00:00

Currently, I’m working with a company that has several different projects, all running on

  • 0

Currently, I’m working with a company that has several different projects, all running on an older copy of a PHP framework. That PHP framework is installed in a shared directory on the server, and added to PHP’s include path, so that typing require 'Framework/Lib.php or whatever will load Lib.php from the shared directory. None of the projects have their own copy of the framework.

I see this as a pretty bad idea, but I’m not really sure why (Other than the main point of not being able to update the framework, so we’re stuck using an old version).

Are there any other negative side effects to this, or is it not as bad as I think?

  • 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-06-17T12:54:43+00:00Added an answer on June 17, 2026 at 12:54 pm

    This isn’t a problem, nor unusual.

    If you need to have multiple copies of a library or framework, you can set the PHP include path as required for each project individually in its own php.ini or htaccess file.

    This means you can keep working the way you are, but use whichever library version you want for any given project.

    The added advantage is that if you need to upgrade one of your projects, you can change the library version of that project simply by altering the include path in the htaccess file, without needing to install any extra copies of the library or affect any other projects.

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

Sidebar

Related Questions

Currently, I'm working on to get a list of all running applications. I've been
Currently I am working in YII framework, Where I created a class that extends
Currently working with converting SQLException error messages into messages that are more useful for
Currently I have two projects that are separate from one another. The first is
Currently everything is working golden except for the fact that a user could manually
Currently, I'm running all selenium scripts in my test suite (written by Selenium Ruby
Currently, I have several queries that need to run in order (some create temp
Currently, I am writing a MiddleWare application that synchronizes information between and accounting application
Currently, I'm working on a project where I have a server - client relationship
Currently I have this code: <?php echo '<meta name=robots content=noindex>'; $arr = json_decode(file_get_contents(http://media1.clubpenguin.com/play/en/web_service/game_configs/ paper_items.json),true);

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.