Composer update errors - Missing PHP extensions

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
deco10
User
Posts: 8

Composer update errors - Missing PHP extensions

Post by deco10 »

Hi! I come to ask for your help.
I've seen several threads related to the subject but I still can't solve it.
I have PhpMaker v2022.12.4 and just now decided to install it. I used the manual and installed the following applications:

.NET Framework 4.6.2 Developer Pack (or newer)
PHP >= 7.4 (I installed xampp PHP Version 8.1.10)
Composer (v2.3.9 or newer) (I installed 2.4.4)
Node.js (includes npm) (v16 or newer, includes npm v8 or newer)

Although it looks like I installed everything, when generating the project it gives me the following error:

Updating dependencies
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Root composer.json requires PHP extension ext-intl * but it is missing from your system. Install or enable PHP's intl extension.
  Problem 2
    - slim/http[1.2.0, ..., 1.3] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
    - Root composer.json requires slim/http ^1.2.0 -> satisfiable by slim/http[1.2.0, 1.3].
To enable extensions, verify that they are enabled in your .ini files:
    - C:\UniServerZ\core\php81\php-cli.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
...

I don't know what to do to overcome this problem anymore. I'm sorry but I don't have much experience.
Many thanks


arbei
User
Posts: 9352

Post by arbei »

deco10 wrote: (as the error message suggested)

- Root composer.json requires PHP extension ext-intl * but it is missing from your system. Install or enable PHP's intl extension.
- slim/http[1.2.0, ..., 1.3] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.

You may read Composer.


deco10
User
Posts: 8

Post by deco10 »

Thanks! Done


Post Reply