Author Topic: -bash: yiic: command not found (cent os 5.2 64bit ssh)  (Read 10012 times)

Savera

  • Full Member
  • ***
  • Posts: 159
-bash: yiic: command not found (cent os 5.2 64bit ssh)
« on: September 10, 2012, 08:58:40 AM »
Hi

I am trying to install Yii for first time on a linux box and it is giving problem. As per tutorial I am supposed to run following command in order to install its webapp , note , I have done this on windows server but can't do this on linux server.

Code: [Select]
yiic webapp install/directorypatth
I am inside yii installation "framework" folder, I can see yiic file there but still I can't execute it, please help me to solve this issue.

thanx in advance.

Savera

  • Full Member
  • ***
  • Posts: 159
Re: -bash: yiic: command not found (cent os 5.2 64bit ssh)
« Reply #1 on: September 10, 2012, 10:39:58 AM »
Earlier I thought its permission issue but I think found the result, if anyone else facing same issue then in linux they they have to actually execute it as :
Code: [Select]
./yiic webapp install/directorypatthPlease note those ./ as it means linux is supposed to execute that file. (assuming there is no permission issue)

 

X

Do you know?

Just make posts in this community and win .com / .org / .net domain name free.
Know more..
Join Now!
anything