Based on a recommendation on stack overflow, i am giving yii framework a spin.
It appears that I am only able to gain shell access to my web server if I log in as root.
I am running through the tutorial, and am having a number of problems typical command to create a web app-
/usr/local/bin/php /home/testuser/public_html/yii/framework/yiic webapp /home/testuser/public_html/demo
- Do I have to type /usr/local/bin/php EVERY TIME???
- Do I have to type /home/testuser/public_html/yii/framework/yiic in full every time???
- Do I have to yype /home/testuser/public_html/demo in full?
- As I am logged in as ROOT, I have to chown every file / folder created by root to make the file viewable by testuser!!!
- I create a new controller using yii.
controller message helloWorld
, yii does some funky stuff, but I can't do ANYTHING with the files without chown EVERYTHING!!!
I'm not too confident with SSH, and I know it's all a learning curve, but... having to change file permissions EVERY time, and having to type full directories every time is just a pain.
I know that there are some shortcuts that I will probably learn with time, but if anybody could give me some pointers to make my life about 1M times easier (considering my main objectives at present are to learn yii framework) linux/terminal/shell commands are currently secondary to my requirements.