I cannot run artisan because of some weird parse error.
$ php artisan serve
Parse error: parse error, expecting "identifier (T_STRING)"' or
"variable (T_VARIABLE)"' or '{'' or '$'' in
/Library/WebServer/Documents/artisan on line 31
So I figure I need to run composer install, but then I get this:
Your requirements could not be resolved to an installable set of
packages.
Problem 1
- This package requires php >=5.5.9 but your PHP version does not satisfy that requirement. Problem 2
- classpreloader/classpreloader 2.0.0 requires php >=5.5.9 -> your PHP version does not satisfy that requirement.
- classpreloader/classpreloader 2.0.0 requires php >=5.5.9 -> your PHP version does not satisfy that requirement.
- Installation request for classpreloader/classpreloader 2.0.0 -> satisfiable by classpreloader/classpreloader[2.0.0].
So I try to install php5.5 or whatever it needs which supposedly works.
$ curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5 installing...
Installing package 5.5-10.8-frontenddev into root / Package
5.5-10.8-frontenddev is already installed at version
5.5.27-20150710-221744. You wanted to install version
5.5.27-20150710-221744.
So at this point, I figure I have met the requirements, but low and behold, same issue with composer install.
No idea what's going on here because it seems like this issue has been around for some time now.
php -v