I’ve been getting the following error recently when making multiple calls using PHP curl (specifically Laravel’s artisan tinker)
I’ve been using Laravel a lot lately. Like seriously, a lot. I’m using it for Pdcast as well as a project in my day job.
Part of the draw to using Laravel was that there’s a LTS (Long Term Support) release available now, version 5.1! This version requires PHP 5.5.9+, however that’s not included in your bog standard CentOS or EPEL repositories.
Nice and quickly then, lets get the latest PHP installed so we can use the new Laravel. We’re assuming you’ve already got PHP installed, if not then replace the following “update” command with a yum install php command, keeping the enablerepos intact.
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum update --enablerepo remi --enablerepo remi-php55
You should now be at (at the time of writing) PHP version 5.5.26. Get your Laravel 5.1 on!