debbiev

Experience

2,820

0 Best Reply Awards

  • Member Since 6 Months Ago
  • 28 Lessons Completed
  • 1 Favorite

10th August, 2018

debbiev left a reply on Laravel 5.6: Parse Error: Syntax Error, Unexpected '?', Expecting Variable (T_VARIABLE) • 1 week ago

If you have shell access, check out your $PATH. Mine was picking up an old version of php.

whereis php echo $PATH

I found the right version of php here: /opt/php71/bin

so I add this line to the end of my .bashrc

export PATH=/opt/php71/bin:$PATH

Now composer doesn't error. and php artisan runs great!

:-D

27th February, 2018

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.