I tried to run some laravel scripts but I am always getting errors. Script works fine on cloudpanel without any modifications. But on aapanel I tried everything but still getting some errors in admin panel and when I tried to run composer for this website I got below errors. Both zip and fileinfo extensions are installed and enable on my server. I tried php7.4, 8.0 and 8.1.
Downloading https://repo.packagist.org/p2/athletic/athletic~dev.json if modified
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-netresearch~jsonmapper~dev.json from cache
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-webmozart~path-util~dev.json from cache
[304] https://repo.packagist.org/p2/athletic/athletic~dev.json
[304] https://repo.packagist.org/p2/zendframework/zend-stdlib.json
[304] https://repo.packagist.org/p2/zendframework/zend-stdlib~dev.json
[304] https://repo.packagist.org/p2/athletic/athletic.json
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-zendframework~zend-hydrator.json from cache
Downloading https://repo.packagist.org/p2/zendframework/zend-hydrator.json if modified
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-zendframework~zend-hydrator~dev.json from cache
Downloading https://repo.packagist.org/p2/zendframework/zend-hydrator~dev.json if modified
[304] https://repo.packagist.org/p2/zendframework/zend-hydrator.json
[304] https://repo.packagist.org/p2/zendframework/zend-hydrator~dev.json
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-zendframework~zend-stdlib.json from cache
Reading /home/www/.cache/composer/repo/https---repo.packagist.org/provider-zendframework~zend-stdlib~dev.json from cache
Updating dependencies
Generating rules
Resolving dependencies through SAT
Dependency resolution completed in 0.012 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-zip * but it is missing from your system. Install or enable PHP's zip extension.
Problem 2
- knuckleswtf/scribe[2.0.0-alpha, 2.0.0-beta, 2.0.0-beta.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9, 2.7.10, v2.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- botble/api dev-master requires knuckleswtf/scribe ^2.0 -> satisfiable by knuckleswtf/scribe[2.0.0-alpha, 2.0.0-beta, 2.0.0-beta.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9, 2.7.10, v2.x-dev].
- Root composer.json requires botble/api *@dev -> satisfiable by botble/api[dev-master].