Jump to content

Bootstrapping ProcessWire: What's the difference of including index.php versus multi-instancing?


salmiak
 Share

Recommended Posts

2 hours ago, salmiak said:

What are the differences between using the including and bootstrapping and multi-instance approach for using ProcessWire in an external script?

Let's say you have Site A, Site B and Site C. Site A and Site B are ProcessWire sites whereas Site C runs on something else (Laravel, WP, some PHP forum, etc).

You can use bootstrapping/include to access Site A whilst in Site A when in a CLI environment. You can also use bootstrapping to access Site A inside Site C.

To access Site B inside Site A or vice versa, you use multi-instance approach. i.e. one ProcessWire inside another ProcessWire instance (site).

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...