With Pressable, all sites can now switch between PHP versions 7.4 and 8.0 with just one click in MyPressable Control Panel.

To change your PHP version:

  • Login to MyPressable Control Panel
  • Go to Settings for your website
  • Switch the PHP version under Site Information 

To learn more about PHP limitations on Pressable, including values such as max_execution_time, memory_limit, and upload_max_filesize, you can read our PHP Info & Limitations article.

You can also learn more about our Service And Platform Considerations here.

We’ve outlined some information and the improvements between the three available PHP versions below:

PHP 7.4
Released: November 28th, 2019

PHP 7.4 significantly boosts performance and improves code readability. The preload function is able to preload functions and classes to speed-up the loading of scripts by 30-50%. PHP 7.4 also brings lots of additional features, fixes, and syntax additions. This is the last version before PHP 8 is released.

New features include:

  • Arrow functions for cleaner one-liner functions
  • Preloading to improve performance
  • Support for typed properties
  • Custom object serialization
  • Unpacking inside arrays
  • Weak references
  • Improved type variance

PHP 8.0
Released: November 26th, 2020

PHP 8.0 is a major update that attempts to resolve past problems and makes PHP more developer-friendly by improving transparency.  It also contains new features and optimization improvements.

New features include:

  • Named arguments
  • Union types
  • Constructor property promotion
  • Custom object serialization
  • Match expression
  • Nullsafe operator
  • Improvements in the type system and error handling