How to use the advanced template in the shared hosting

In my opinion, almost all applications should use the advanced template, since it provides the right project structure from the very start, so as to immediately handle frontend and backend occurring in every web project.

However, we have also seen that the advanced template requires a console access to execute installation and initialization commands. So, if we have a remote hosting without this capability, it could be difficult for us to install and use Yii with the advanced template.

If we cannot add the console capability to remote hosting, we have two possibilities:

  • Create the project in the local environment where we can install what we want and need; it is enough to locally install a WAMP ...

Get Yii2 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.