Re: [Tiki-devel] After installing a package on a Tiki24.1 => dependencies require a PHP version ">= 8.0.0"

Jonny Bradley via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi Bernard

Yes, this must be wrong - Tiki 24 needs to stay on php 7.4 - i'll see what happened.

Also we saw there was a major upgrade of fontawesome in 24.x recently, i certainly saw one site missing its icons after an upgrade, and yet others seem fine... usually a fontawesome upgrade needs some changes to the Icons php code - so maybe we should revert both of these changes before 24.1?

jonny




> On 23 Aug 2022, at 09:30, Bernard Sfez via TikiWiki-devel <[email protected]> wrote:
> 
> Hello,
> 
> On a Tiki24.1 (updated from Git today) I installed “my" usual Tiki packages, npm-asset/lozad and mpdf/mpdf.
> 
> Installing mpdf/mpdf broke the Tiki with this error displayed : Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.30. 
> 
> 
> Please, whoever updated the dependencies should make sure this doesn’t happen especially not on an LTS.
> mpdf/mpdf is an essential package and the correct version should be set back for Tiki24 using PHP7.4.
> 
> ——
> 
> Troubleshooting and fixing the issue (it may help someone else);
> 
> I tried to check the packages from the console but it displayed the same error:
> php7.4 console.php 
> Composer detected issues in your platform:
> Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.30.
> 
> I had to switch the PHP version for this domain to PHP8.0.
> Then using the console I deleted the mpdf/mpdf package manually so I can switch the domain back to PHP7.4.
> 
> This let me with another error "Service Unavailable…”
> I changed the PHP option from FPM to CGI wrapper and then back again to FPM to kick a little PHP (MySQL) and get the domain back online and working. (I hope)
> 
> Regards,
> Bernard
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel



_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.