19-Feb-2017

PHP upgrade – blogs won’t run
I use Mark Berrymans’ PHP-ports to run the blogs, currently version 5.2-13, bot there is a need to upgrade to a newer version; I have them on the system (5.3-31, 5.4 and 5.6) so I changed environments – easy: run a script twice: Once to disable the current version and once to enable the one I want. This sets PHP_ROOT to the right location, and PHPWASD – the image that actually executes the PHP code – specific to the version for that particular PHP version (there will be an entry shortly showing how I did this).
All seems Ok, but the blogs fail: PHPWASD: returns status 500 (internal server error) without any other explanation, even after restarting the server. It doesn’t matter what version is activated, all but 5.2-13 works. The WATCH output clearly shows that the right version of PHPWASD: is started, so the referencing does actually work – but the image seems to run into an error and display “internal; server error” – but not what caused it.
I asked the WASD-INFO list for help. It must be something within WordPress (which should run with these versions) so I may have to dig into there.
Weird: PHP_INFO does work flawlessly – and it shows the expected information.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.