Use Yii with shared server?

Hello hope all is well😊
Im new to the framework and to me it seems to be less complex than the others (Cakephp, Symfony, Laravel,etc). My question is can I use this with my web host (1and1)? Don’t want to create anything unless I know I can easily get it up and running afterwards.

:heart_decoration::sparkling_heart:,
Mekaboo

1 Like

Yes, you can :slight_smile:
If your host does not support you setting the document root, then you can use an app template that allows you to use the project root as web root.
There is an app template made by Krajee on Github, that does that. The standard basic app template that is maintained by the Yii team requires that you set up your web root in the web subdirectory. That is good practice, but rather sad if you can’t set the web root :smile:

1 Like

If you’ll rename web directory to match your shared hosting webroot, it will just work out of the box.

1 Like

True, but some shared hosting providers restrict you to only work within your user directory which is also the web root. :wink:

1 Like

Right. In this case you’ll need another template.

1 Like

Thank you both for the input I greatly appreciate it :heart_eyes: