[Loris-dev] upgrading centos dev server to v21

Tom Beaudry waveflux at gmail.com
Fri Jan 10 12:53:46 EST 2020


Hey guys,

Problem solved, apache needed a restart after upgrading to php 7.1.

Take care,
Tom

On Fri, Jan 10, 2020 at 9:27 AM Dave MacFarlane <dave.macfarlane at mcin.ca>
wrote:

> "?" 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
> be running a different version of PHP than your command line.
>
> You can verify by making a simple php page that calls phpinfo() and seeing
> what it says when you visit page in your browser.
>
>
> On Thu, Jan 9, 2020 at 4:52 PM Tom Beaudry <waveflux at gmail.com> wrote:
>
>> Hi Guys,
>>
>> 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.
>>
>> After the upgrade, when i try and access the login page, i get:
>>
>> This page isn’t workinglorisdev.concordia.ca is currently unable to
>> handle this request.
>> HTTP ERROR 500
>>
>> and my apache logs says:
>>
>> PHP Parse error:  syntax error, unexpected '?', expecting variable
>> (T_VARIABLE) in /var/www/loris/php/libraries/NDB_Client.class.inc on line 49
>>
>> Any help would be greatly appreciated,
>>
>> Thanks,
>> Tom
>> _______________________________________________
>> Loris-dev mailing list
>> Loris-dev at bic.mni.mcgill.ca
>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20200110/0096e463/attachment.html>


More information about the Loris-dev mailing list