PHP - CodeIgniter Application - deployment error |
I took a look at the error logs you posted and it seems like the issue might be related to some version mismatches between the packages your app uses.
From what I can tell, the ahsankhatri/cryptolib-php package wants PHP 7.0 or higher, but it looks like maybe your production server is running an older PHP version that doesn't quite match up. The logs mention something about it finding PHP 8.1.6 through 8.1.11 but that not working with what the package needs. I'd suggest based on my previous experience that you double check which PHP version your production server has - if it's too old, you might need to see about updating it to a newer release that works with the cryptolib package and any other dependencies. Just take a peek at your composer.json file and look for where it specifies the PHP version, and make sure that matches what your server has, tinkering with that if needed. If you already tried fixing the composer.json file, don't forget to run 'composer update' again to sync everything up, lock file and all. CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5) |
Messages In This Thread |
PHP - CodeIgniter Application - deployment error - by dianeyard - 08-13-2024, 02:15 AM
RE: PHP - CodeIgniter Application - deployment error - by ozornick - 08-13-2024, 04:16 AM
RE: PHP - CodeIgniter Application - deployment error - by gosocial2 - 08-13-2024, 10:28 AM
RE: PHP - CodeIgniter Application - deployment error - by kenjis - 08-15-2024, 07:11 PM
|