Webmaster's Community

Designing and Development => Open Source => Yii PHP Framework Support => Topic started by: Savera on September 10, 2012, 08:58:40 AM

Title: -bash: yiic: command not found (cent os 5.2 64bit ssh)
Post by: Savera 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.
Title: Re: -bash: yiic: command not found (cent os 5.2 64bit ssh)
Post by: Savera 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)