Hello,
I downloaded yii 10.0.4 the stable release.
I followed the docs, creating a testdrive folder in my Sites folder on my mac.
Within the testdrive, I placed the yiiroot folder
I tested the requirements, and all were ok!
I chmod the yicc to 777 and in terminal I tried:
/Users/myname/Sites/testdrive/yiiroot/framework/yiic webapp /Users/myname/Sites/testdrive
and I got this error:
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /Users/myname/Sites/testdrive/yiiroot/framework/YiiBase.php on line 49
Anybody an idea what could go wrong here? Or maybe have the same problem?
Page 1 of 1
Problem install on OSX 10.4
#4
Posted 04 May 2009 - 06:49 AM
Your command line PHP could be PHP4. Please double check that using "php -v"
#5
Posted 04 May 2009 - 06:58 AM
omg, you're right. it's 4.4.9
Any idea how I can update this?
I'm not a regular cmd line user. :-)
Any idea how I can update this?
I'm not a regular cmd line user. :-)
#6
Posted 08 May 2009 - 12:07 PM
I really struggled getting a test environment working on OSX (Leopard). The canned packages didn't have all extensions compiled and then I had problems compiling new versions. I ended up installing MAMP and it works great and it's current.
R
R
Share this topic:
Page 1 of 1

Help












