I'm having trouble figuring out the proper way to set up projects in PHPStorm when using a remote SFTP.
My filesystem structure is such on the server:
If I want to create a project for /testapp, I'm unsure:
1. What should be the main path in the project? /, /ext/, /ext/apps/, or /ext/apps/testapp/
2. Which should be my project root and resource root? I've read through the documentation and I'm still unsure what each does.
3. How do I include/link to /ext/lib/classes? If I set the main path as anything below /ext/, I can't even see the lib folder.
4. Is there a way to tell PHPStorm what the absolute path is on the server? If I do a require('/ext/lib/classes/class.php'), it says not found because on the local machine, the path is not the same.
Any help and any or all of these would be greatly appreciated!