Welcome Guest, Not a member yet? Register   Sign In
Setting Up Two CI On One Server
#6

Hi,

Here is how I do this: Put CI folder above the document root, create 2 application folders.

/server/codeigniter/system (CI dore)
/server/codeigniter/app1 and /server/codeigniter/app2

Then you need an index file under the document root for each application
/server/document_root/index.php (index for app1)
/server/document_root/app2/index.php (index for app2)
You need to set the $application_folder in each index file.

There is a few variation to this setup that would work as well but this gives you a basic idea.
Reply


Messages In This Thread
Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 07:38 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 08:54 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 09:36 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 10:29 PM
RE: Setting Up Two CI On One Server - by salain - 04-12-2016, 12:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB