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

Bernard Sfez via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
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
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.