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

The Archive Base Latest Questions

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

In my application at some point, I have to call the Propel library version

  • 0

In my application at some point, I have to call the Propel library version 1.2 ( which is located at directoryA), and at another point, I need to call the Propel library version 1.3 ( which is located at directoryB).

How to do this?

Edit: I need this because a component I use uses an older version of a library that I use as well.

  • 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-12T11:22:55+00:00Added an answer on May 12, 2026 at 11:22 am

    This is not possible, because both versions of Propel have classes with the same name (such as “Propel”). PHP does not allow redefining (or undefining) classes.

    The best thing to do is to encourage the makers of the component that uses Propel 1.2 to upgrade. Alternatively, you can try it yourself, as the Propel interface did not actually change very much.

    Edit: There are of course cumbersome workarounds: one is turning the component that depends on Propel 1.2 into a separate service of some sort, that could be in theory separately invoked from the internet. Then, use virtual() (if you’re on Apache) to make a separate request to this component. This will start a new PHP session in a new Apache thread/process, so there’s no naming conflicts. If you need to query the component only a few times per page request, the overhead might be ok.

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

Sidebar

Related Questions

I have an application designed for iPhone OS 2.x. At some point I have
I have a huge application and at some point, when a redirect is involved
We have a database (let's call it database A) which becomes unusable every some
I have a C application that embeds the Python 2.7 interpreter. At some point
I have two PHP applications on the same Apache server. At some point, application
I have some code in my application that looks something like this: char *hash
I have a commandline application coded in delphi that I need to call from
I am doing manual layouting for my Cocoa application and at some point I
I'm considering using memcached (at some point) in my application i'm currently developing. Eventually,
my web application supposed to send email reminders in some point it will send

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.