I’m trying to install Yii2 on wordpress following this tutorial: http://www.yiiframework.com/wiki/213/integrating-wordpress-and-yii-yet-another-approach/
But I’m stuck on this step: Create a Yii application (using yiic) under WP root, on a folder named yii.
I’m a beginner and I’m unable to understand what should I do.First I can’t find yiic and I don’t know how to install it! second How can I install yii using yiic? and what is the directory for WP root?
Yii is a PHP framework, it is not a complete solution or ready CMS.
Yii (on installing) generates basic startup folders and files to get started with a new project.
To learn how to use yiic to generate basic application stucture you can watch these videos:
Installing Yii on Windows/Ubuntu:
https://www.youtube.com/watch?v=Rra_UKJRagA
https://www.youtube.com/watch?v=k37OEf2wpHk
Installing Yii2 on Windows/Ubuntu:
https://www.youtube.com/watch?v=YiaP4V9B2WM
https://www.youtube.com/watch?v=z1xtFbO9jgQ
You should install and develop your Yii application on your localhost (Local webserver) and then upload it to your public webserver. This way is recommended.
WordPress is a complete CMS – ready to use.
WP root is the folder where wordpress is installed. If you installed your wordpress website to your webhosting’s public_html/htdocs/www folder then this folder is the root folder of your WordPress powered website, if you installed wordpress for example in website.com/blog folder then the ‘blog’ folder is the WP root.
WP root is the folder where you can see in it wp-admin, wp-content, wp-includes, wp-config, index.php folders and files.
https://www.youtube.com/watch?v=G6xWZoCFmOw
If you want to use Yii with a WordPress powered website I advice you to use this extention:
http://www.yiiframework.com/extension/yii2-wordpress/