开发者

Using Cakephp 1.3 CLI on Hostgator

开发者 https://www.devze.com 2023-03-11 00:11 出处:网络
I\'m using Hostgator.com and I\'m trying to bake apps via ssh console. I have connected successfully to via SSH. I have the cakephp folder located at http://www.domainname.com/cakephp

I'm using Hostgator.com and I'm trying to bake apps via ssh console. I have connected successfully to via SSH. I have the cakephp folder located at http://www.domainname.com/cakephp

the initial cakephp installation is working fine. Connected to database etc.

This is a list of paths from Hostgator: List

here is my .bash_profile: # .bash_p开发者_StackOverflowrofile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
     . ~/.bashrc
fi

# User specific environment and startup programs

export PS1="$ "

alias www="cd /home/username/public_html"

export PATH="/usr/bin/php/bin:/home/username/public_html/cakephp/cake/console:$PATH:$HOME/bin"

When i open terminal I do this: www [enter] -> cake bake [enter]

then I get this problem: -jailshell: /home/username/public_html/cakephp/cake/console/cake: Permission denied

if anyone could help me it would be greatly appreciated. If I have forgot to mention something please tell me asap so I can tell you.


You need to set the executable flag on the cake script.

www
chmod +x cakephp/cake/console/cake
0

精彩评论

暂无评论...
验证码 换一张
取 消