Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.

Upgrading to PHP 7.1 is easy

Original – by Freek Van der Herten – 2 minute read

PHP 7.1 was released last week. It has many nice new features. If you're anything like me, you want to use the latest version right way. Upgrading to PHP 7.1 is not that difficult. Personally I use homebrew. The steps required to upgrade from 7.0 are laughably simple.

Just issue this command in your terminal:

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install php71

Boom, done. If you need xdebug or imagick homebrew has got your back too:

brew install php71-xdebug
brew install homebrew/php/php71-imagick

Not a fan of homebrew? No problem. PHP 7.1 can also easily be installed via this script on liip.ch:

curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1

If you want to upgrade your Homestead box to 7.1 Joe Ferguson has done all the heavy lifting for you. Check his blogpost for detailed instructions.

Feeling ready to use 7.1 in your production environment? Go over this guide by Colin O'Dell on how to install 7.1 on various operating systems.

If you are, like me, a Forge user, you probably know that PHP 7.1 is already the default when provisioning a new server. And it looks like Forge will be able upgrade your PHP 7.0 to 7.1 with a click of a button in the near future.

Stay up to date with all things Laravel, PHP, and JavaScript.

You can follow me on these platforms:

On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.

Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

Comments

What are your thoughts on "Upgrading to PHP 7.1 is easy"?

Comments powered by Laravel Comments
Want to join the conversation? Log in or create an account to post a comment.