johanwilfer / vagrant-easy-drupal8

A simple way to fire up a Drupal 8 in Vagrant
MIT License
0 stars 10 forks source link

Upgrade from PHP5 to PHP7 #14

Open seetee opened 6 years ago

seetee commented 6 years ago

The following packages related to PHP are installed by the recipe:

php5 php-apc php5-mysql php5-curl php5-gd php5-intl

It should be possible to just update them to:

php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl

The package php-apc does not seem to be used in PHP7.

seetee commented 6 years ago

Drupal runs without a problem on PHP7, but other projects might not? Do the two versions coexist?

johanwilfer commented 6 years ago

I think we can upgrade to php7. Tested 7.2 on another project an that did not work together with phpMyadmin. So 7.0 or 7.1 it is maybe.

seetee commented 6 years ago

Apparently Drupal 8 is recommended to be used with PHP 7.1 and 7.2, not older, according to their PHP documentation.

And if we do something about issue #16 , there would be nothing stoping us from using PHP 7.2.