Yii Framework Forum: Problem install on OSX 10.4 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem install on OSX 10.4 Rate Topic: -----

#1 User is offline   kinetic_one 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 04-May 09

Posted 04 May 2009 - 03:45 AM

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?
0

#2 User is offline   ORey 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,700
  • Joined: 20-April 09
  • Location:Moscow, Russia

Posted 04 May 2009 - 04:27 AM

You're using php4.
0

#3 User is offline   kinetic_one 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 04-May 09

Posted 04 May 2009 - 04:29 AM

No,

currently Php 5.2.2 is installed
0

#4 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,899
  • Joined: 04-October 08
  • Location:DC, USA

Posted 04 May 2009 - 06:49 AM

Your command line PHP could be PHP4. Please double check that using "php -v"
0

#5 User is offline   kinetic_one 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 04-May 09

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. :-)
0

#6 User is offline   rpaulpen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 136
  • Joined: 01-December 08

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users