Magento 2.1 PHP version suggestion
-
01-10-2020 - |
Pregunta
I recently got a project in Magento 2.1 CE (from scratch). Although the officially recommended of PHP is 5.6, I am more inclined to go with PHP7.
I was looking for a Pros and Cons list of going with either of the PHP versions.
Any thoughts people ?
Solución
PHP 7
- Pro: Much faster
- Con: Possible bugs
PHP 5.6
- Pro: More reliable
- Con: Slower
That's pretty much all it comes down to. At this point, PHP 7 is fairly stable, every module you find for M2 should support it out of box, so you're not likely to run into any problems.
I wouldn't build a site on anything less than PHP 7.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange