PHP Upgraded to PHP7

     PHP on our web server has been upgraded to PHP7:

     php –version –rexinfo
      PHP (cli) ( NTS )
      Copyright (c) 1997-2016 The PHP Group
      Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
         with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies


     I am going to attempt to upgrade PHP to PHP 7 later tonight while keeping Ubuntu OS at version 15.10 for now.  The performance increases of PHP 7 shaved several hundred milliseconds off of our page load time and lower page load time equals higher Google rankings which for businesses is very important.

     Since many people use our site for development, I believe it’s also important to have the latest tools available for development purposes.  No point developing for yesterday’s platforms.

Ubuntu Restored

     I’ve also reverted to Ubuntu 15.10 because x2go does not work in Ubuntu 16.04 LTS and a server that can’t be accessed is of no use.

     I’ll setup a new virtual machine to test and when these issues are resolved we’ll make a new attempt.


FTP/WWW Restored to Ubuntu 15.10

    Ubuntu 16.04 LTS clearly is not ready for prime time.

     First problem I encountered is that I could no longer login using x2go making graphical administration remotely impossible.

     Second problem is Apache wedged after a few hours of operation and would not restart until I rebooted the machine.  That might be acceptable behavior for Windows servers but not for Linux.

     I’ve reverted our web server back to Ubuntu 15.10 for now using the image I made prior to starting the upgrade process.

     It’s unfortunate because php7 did shave several hundred milliseconds off of the load time for our home page so it really did provide substantial speed improvements.

     I may attempt an install of php7 independent of an entire operating system upgrade.

Ubuntu Imaging and Upgrade

     I am going to take the Ubuntu server,, down for about 25 minutes to image it prior to starting the upgrade from Ubuntu 15.10 to Ubuntu 16.04LTS.

     The upgrade will take a good part of the day.  The server will be available during the upgrade but there may be a period of time where some functionality is impaired while various package dependencies are broken while part of the old packages and part of the new simultaneously exist.

     After the upgrade completes, assuming it is successful, I will take the server down again for another 25 minutes or so to image it again.

Ubuntu Additions

Software added to the shell server:

  • Calligra Gemini – Word Processing and Presentation
  • Utopia Documents – PDF Reader for Scientific Articles
  • Karlyriceeditor – Karoke Lyric Editor
  • BaseX XML Database – Visually query and analyze your XML data
  • Sparse – Semantic Parser of Source Files
  • Squeak – Squeak Smalltalk System
  • Bpython – Curses front-end for Python Interpreter

Scoreboard Fixed

     I filled a report with Apache’s Bugzilla.  They responded that it had been fixed in the main trunk (and 2.4.21 will be fixed) but provided me with the necessary patch to fix 2.4.20, which I applied, and it did fix the server-status scoreboard.  So to the best of my knowledge the web server is now 100% functional again with the most current version available.

myPhpAdmin Available

     I e-mailed the maintainers of the version of mod_authnz_external for the older Apache 2.0 series and one of them, Sven-Haegar Koch, was kind enough to take a look at the code for the version for 2.4 and provided me a patch.  It wasn’t quite in sync with the code I had but there were only about three lines that needed to be changed so I changed them by hand, recompiled, and it worked!

     So phpMyAdmin, which is protected by this code to limit access to Eskimo North customers, because it had unfortunately become a target for hackers, is now available again.

Apache 2.4.20

     Apache 2.4.20 broke the scoreboard.  It’s no longer showing the pages being served.  Gotta love it.  What happened to actually testing something before it’s release?  This is really basic functionality we’re talking about.  It’s like a bunch of Windows engineers quit their job and went to work for the Apache project.