Pragati Singh Pragati Singh - 3 years ago 333
PHP Question

How to run two cakephp 2.7 project on single server

I want to run two different cack php project on single server.

Answer Source

I am able to setup with default cack multiple project with below steps.

In your webroot you can make as many folders as you have cakephp projects. For example /project1 and /project2.

Both have their own .htaccess and whole project tree. If you want to have different domains pointing to our projects you should be able to configure the pointing to the folders

RewriteEngine On -> do this
RewriteBase / - remove this line

By changing above line you can run multiple project any n number projects.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download