Hi, I'm happy to announce that PHP 7.2 webservices are available in Toolforge for beta testing. PHP 7.2 brings in 3 years of improvements since 5.6 (released back in 2014), including new features and performance improvements.
How to try it out: $ webservice stop; webservice --backend=kubernetes php7.2 start If you need to run something on the command line for setup, like composer, you'll need to enter the shell instance: $ webservice --backend=kubernetes php7.2 shell While most code should just work, not all will. You should read the upstream migration guides[1] for help on porting your code. Some PHP extensions have been removed, notably `mysql` (use `mysqli` or PDO instead). Beta period notes: * I'm not going to be on hand to monitor your tool 24/7 (this is a free time project for me too). * Expect bugs, don't switch tools over that need to be up 100% of the time. * #wikimedia-cloud on freenode is a great place to ask for help! * If you do find bugs, please file subtasks of [2] or comment there (I can file separate tasks if necessary). * Documentation on-wiki is probably out of date. I'll work on that soon. * If everything goes well, I plan to declare 7.2 out of beta and stable in about 2-3 weeks. Technical details: * You can see installed PHP 7.2 extensions/configuration with the phpinfo tool.[3] * PHP 7.2 is running on top of Debian Stretch, which will pull in newer versions of many system libraries. ** Notably lighttpd 1.4.45 (vs 1.4.35 previously). And, thank you to all the people who have already helped with testing and finding issues during the alpha period. [1] https://secure.php.net/manual/en/migration72.php [2] https://phabricator.wikimedia.org/T188318 [3] https://tools.wmflabs.org/phpinfo/ -- Legoktm
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Wikimedia Cloud Services mailing list [email protected] (formerly [email protected]) https://lists.wikimedia.org/mailman/listinfo/cloud
