Linux Installation Manual: Section PHP; Should all "PHP 7.2" be "PHP 7.4"?

954 views
Skip to first unread message

Kerry Skinner

unread,
May 6, 2021, 8:45:39 AM5/6/21
to AtoM Users
Hi, 

I'm currently going through the installation manual for AtoM. I'm having some trouble in sub-section "PHP". Should all instances of PHP 7.2 simply be changed to PHP 7.4 throughout this section? 

Kind regards,
Kerry

Dan Gillean

unread,
May 6, 2021, 9:45:55 AM5/6/21
to ICA-AtoM Users
Hi Kerry, 

Not for the current 2.6 releases, no. We have been aiming to upgrade to PHP 7.4 for the 2.7 release, but if you try using it now, you may encounter some bugs due to breaking changes in the PHP versions that haven't yet been addressed in the AtoM code. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/5d491b7d-ee16-4cda-a1ac-aeaacdf8d3dan%40googlegroups.com.

Kerry Skinner

unread,
May 10, 2021, 7:32:30 AM5/10/21
to AtoM Users

Hi.

I'm trying to use the recommended PHP 7.2. However I'm having trouble getting it from the repository.  I have confirmed that I'm using Universal and Main but I'm getting the following errors:

  ~$ sudo apt install php7.2-cli php7.2-curl php7.2-json php7.2-ldap php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-fpm php7.2-mbstring php7.2-xsl php7.2-zip php-apcu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package php7.2-cli
E: Couldn't find any package by glob 'php7.2-cli'
E: Unable to locate package php7.2-curl
E: Couldn't find any package by glob 'php7.2-curl'
E: Unable to locate package php7.2-json
E: Couldn't find any package by glob 'php7.2-json'
E: Unable to locate package php7.2-ldap
E: Couldn't find any package by glob 'php7.2-ldap'
E: Unable to locate package php7.2-mysql
E: Couldn't find any package by glob 'php7.2-mysql'
E: Unable to locate package php7.2-opcache
E: Couldn't find any package by glob 'php7.2-opcache'
E: Unable to locate package php7.2-readline
E: Couldn't find any package by glob 'php7.2-readline'
E: Unable to locate package php7.2-xml
E: Couldn't find any package by glob 'php7.2-xml'
E: Unable to locate package php7.2-fpm
E: Couldn't find any package by glob 'php7.2-fpm'
E: Unable to locate package php7.2-mbstring
E: Couldn't find any package by glob 'php7.2-mbstring'
E: Unable to locate package php7.2-xsl
E: Couldn't find any package by glob 'php7.2-xsl'
E: Unable to locate package php7.2-zip
E: Couldn't find any package by glob 'php7.2-zip'

Where should I be looking for PHP 7.2? Has it been removed since security support is over? 

Kind regards,
Kerry  

Dan Gillean

unread,
May 10, 2021, 10:43:41 AM5/10/21
to ICA-AtoM Users
Hi Kerry, 

I'm guessing you're using Ubuntu 20.04 - we also haven't tested this Ubuntu version with 2.6, but I suspect it will be fine. PHP 7.2 is no longer the default in 20.04, so you'll need to install from a separate PPA if you want to use that version. See for example the response in this thread: 
We'll also be upgrading AtoM to use Ubuntu 20.04 in the 2.7 release. 

Regards, 

Dan Gillean, MAS, MLIS
@accesstomemory
he / him


Reply all
Reply to author
Forward
0 new messages