Supported PHP Versions: Difference between revisions

From Sympl Wiki
Jump to navigation Jump to search
(Add page summarising supported PHP versions)
 
m (Fix community documentation links)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Sympl uses the relevant version of [[PHP]] for your version of [[Debian]], along with the typical PHP extensions, see [[Website Configuration Reference]] for details.
Sympl uses the relevant version of [[PHP]] for your version of [[Debian]], along with the typical PHP extensions, see [[Website Configuration Reference]] for details.


* PHP 7.0 for Debian Stretch (Sympl 9.x)
* PHP 7.3 for Debian Buster (Sympl 10.x)
* PHP 7.3 for Debian Buster (Sympl 10.x)
* PHP 7.4 for Debian Bullseye (Sympl 11.x)


Since [[Debian]] and PHP each run different release schedules, Sympl often doesn't include the latest [https://www.php.net/supported-versions.php version of PHP]. Debian handle providing backported security patches for their packaged versions of PHP <ref>https://www.debian.org/security/faq#oldversion</ref> so using old versions of [[PHP]] isn't a cause for concern providing you use a supported version of [[Debian]].
Since [[Debian]] and PHP each run different release schedules, Sympl often doesn't include the latest [https://www.php.net/supported-versions.php version of PHP]. Debian handle providing backported security patches for their packaged versions of PHP <ref>https://www.debian.org/security/faq#oldversion</ref> so using old versions of [[PHP]] isn't a cause for concern providing you use a supported version of [[Debian]].
Line 10: Line 10:
Not currently supported, however it is on the roadmap<ref>https://forum.sympl.io/t/are-there-plans-to-support-http-2/61/6</ref> for some point in the future.
Not currently supported, however it is on the roadmap<ref>https://forum.sympl.io/t/are-there-plans-to-support-http-2/61/6</ref> for some point in the future.


(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in [[Enable HTTP2 Support in Apache]] ''at your own risk'' however this is [[Category:Community Documentation|Community Documentation]] and not ''officially'' supported.)
(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in [[Enable HTTP2 Support in Apache]] ''at your own risk'', however this is [[:Category:Community Documentation|Community Documentation]] and not ''officially'' supported.)


== Multiple PHP versions selected per-site ==
== Multiple PHP versions selected per-site ==
Line 16: Line 16:
Not currently supported, however it is on the roadmap<ref>https://forum.sympl.io/t/are-there-plans-to-support-http-2/61/6</ref> for some point in the future.
Not currently supported, however it is on the roadmap<ref>https://forum.sympl.io/t/are-there-plans-to-support-http-2/61/6</ref> for some point in the future.


(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in [[Enable HTTP2 Support in Apache]] ''at your own risk'' however this is [[Category:Community Documentation|Community Documentation]] and not ''officially'' supported.)
(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in [[Enable HTTP2 Support in Apache]] ''at your own risk'', however this is [[:Category:Community Documentation|Community Documentation]] and not ''officially'' supported.)

Latest revision as of 14:20, 11 July 2022

Sympl uses the relevant version of PHP for your version of Debian, along with the typical PHP extensions, see Website Configuration Reference for details.

  • PHP 7.3 for Debian Buster (Sympl 10.x)
  • PHP 7.4 for Debian Bullseye (Sympl 11.x)

Since Debian and PHP each run different release schedules, Sympl often doesn't include the latest version of PHP. Debian handle providing backported security patches for their packaged versions of PHP [1] so using old versions of PHP isn't a cause for concern providing you use a supported version of Debian.

Using a different PHP version

Not currently supported, however it is on the roadmap[2] for some point in the future.

(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in Enable HTTP2 Support in Apache at your own risk, however this is Community Documentation and not officially supported.)

Multiple PHP versions selected per-site

Not currently supported, however it is on the roadmap[3] for some point in the future.

(If you really need a different version you could consider taking inspiration from "Multiple PHP versions" section in Enable HTTP2 Support in Apache at your own risk, however this is Community Documentation and not officially supported.)