PHP 7 support for Current Marketing sites
As a developer, We should make sure our systems work reliably in production and there is no downtime for our users.
Update the custom modules to the latest version
Update the PHP code base according to http://php.net/manual/en/migration70.php
Lets leave this open while we wait on people to test.
Email I just sent
The Spartans team has been working for the past few weeks on getting us ready for an October 1st mandatory upgrade to PHP 7.0 on our Drupal sites. Currently we are testing changes on the acceptance environment and are hoping to have these changes on Stage tomorrow. I am looking for as many people as possible to look at the Stage site for things that stop working after the upgrade to PHP 7.0, and currently work in production.
This email is a heads up email. I plan to send another when we have a more concise timeline.
Please let me know if you think you might be able to spend 30 minutes or so making sure the upgrade does not break your favorite part of the Marketing Site experience.
Thank you as always,
Ok, I will send out a precursor email once we have a status update and confirmation we are ready to move to Stage.
Then once on Stage I will try and get people to help with testing for 30 or so minutes in the morning.
- I can help, but I think this is important enough that we should circulate more widely. This should be more of an all-hands-on-deck testing, especially for stage and prod release.
- fast 404 runs conditionally - I THINK it is mostly for static assets (js files, images, css, etc) but the way to test is to check the headers and the response. Note that we set different headers for fast_404 delivered responses:
Also note that fast_404 responses don't have the whole drupal look and feel as a rendered page:
I'm pretty sure we customized this module, so we will need to be careful when we upgrade it and make sure we DON'T lose our local changes (which I think may be limited to the .inc file I linked above, but not sure)
Yes its already running on acceptance. Now as fast_404 is essential, i need to upgrade that module too as it has deprecated mysql_* calls which would fail in PHP 7. Iam upgrading it to 7.x-1.4 (mysqli_* based) instead of latest one 7.x-1.5 (PDO based). I can't ssh into acceptance to know if both php extensions are enabled or not.
Secondly how can one invoke this fast_404 module? Does any incorrect url would work?
Mostly i am worried about custom/contrib modules. If we can somehow invoke them to verify that they work under php 7 . I don't know much about these modules and at what time/page what modules are invoked.