<div dir="ltr"><div>"?" to mean nullable in type hinting was added in PHP 7.1, so that suggests that Ling Ma is right and your web server might</div><div>be running a different version of PHP than your command line.</div><div><br></div><div>You can verify by making a simple php page that calls phpinfo() and seeing what it says when you visit page in your browser.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 4:52 PM Tom Beaudry <<a href="mailto:waveflux@gmail.com">waveflux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Guys,<div><br></div><div>I'm trying to upgrade a dev server to v21 that runs on centos from the official release.  I followed the instruction on the release page, and I'm running PHP 7.1.33.</div><div><br></div><div>After the upgrade, when i try and access the login page, i get:</div><div><br></div><div>This page isn’t <a href="http://workinglorisdev.concordia.ca" target="_blank">workinglorisdev.concordia.ca</a> is currently unable to handle this request.<br>HTTP ERROR 500<br></div><div><br></div><div>and my apache logs says:</div><div><br></div><div>PHP Parse error:  syntax error, unexpected '?', expecting variable (T_VARIABLE) in /var/www/loris/php/libraries/NDB_Client.class.inc on line 49<br></div><div><br></div><div>Any help would be greatly appreciated,</div><div><br></div><div>Thanks,</div><div>Tom</div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>