I am considering switching to use PhpStorm as my IDE but I am running into some issues when setting up my Yii project.
It seems that PhpStorm cannot recognize the Yii framework that I have included as an external library.
Here is how my dev environment is setup:
-
Windows 7 with an installation of PhpStorm
-
VirtualBox with a distribution of Ubuntu (Turnkey LAMP to be specific) as my server.
-
File share of my root folder on Ubuntu with Windows through Samba and mapped to a drive.
-
The project files on the server are located under /var/www/<project>
-
The Yii framework files are located under /var/lib/yii/framework on the server
When setting up the project I did choose the option: "Web server is on remote host, files are accessible via FTP/SFTP), and in ‘Deployment’ wndow I have a mapping from my local path (where project files are stored on my Windows machine) to the deployment path (where files are stored on the server).
I have tried to include the Yii framework using the file share path, and also to a local copy of the Yii. But the Yii framework functions are not being analysed. I even tried to create a mapping for the path to the Yii framework, but the error message I am getting then is that the path is out of project…
I really do hope somebody here on the forum will be able to help me setup a Yii project on PhpStorm with the use of a remote host?
Right now I seem to be at my whits end …