# Install composer problem for newbie

**URL:** <https://forum.mautic.org/t/install-composer-problem-for-newbie/22977>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [March 10, 2022, 12:28am UTC](https://forum.mautic.org/t/install-composer-problem-for-newbie/22977 "2022-03-10T00:28:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)\
**Post date:** [March 10, 2022, 12:28am UTC](https://forum.mautic.org/t/install-composer-problem-for-newbie/22977/1 "2022-03-10T00:28:18Z")

</div>

**Your software**  
_My PHP version is_ : 7.4  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL/MariaDB version

Hi… I am not techie guy, and newbie with PHP dependency…  
But, I try to install composer on my hosting, via ssh  
so I follow step on this [How to install Mautic | Mautic](https://docs.mautic.org/en/setup/how-to-install-mautic/install-and-manage-mautic-with-composer:)

and this is result

1. install composer (success)
2. run this

```auto
composer create-project mautic/recommended-project:^4 some-dir --no-interaction

```

and succes  
3. run this

```auto
cd some-dir
composer require mautic/mautic-saelos-bundle:~2.0

```

and i get the problem on my ssh terminal.

```auto
[asokamai@sng100 some-dir]$ composer require mautic/mautic-saelos-bundle:~2.0
symfony/flex contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "symfony/flex" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "composer/installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
mautic/core-composer-scaffold contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "mautic/core-composer-scaffold" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
mautic/core-project-message contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "mautic/core-project-message" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
./composer.json has been updated
Running composer update mautic/mautic-saelos-bundle
Loading composer repositorUpdating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires mautic/mautic-saelos-bundle ~2.0 -> satisfiable by mautic/mautic-saelos-bundle[2.0, 2.1].
    - mautic/mautic-saelos-bundle[2.0, ..., 2.1] require tightenco/collect ^5.6 -> found tightenco/collect[v5.6.0, ..., v5.8.38] but the package is fixed to v8.83.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[asokamai@sng100 some-dir]$ ^C
[asokamai@sng100 some-dir]$

```

How to fix it…?  
or what step can I do …?

thanks

---

<div class="post-metadata">

**Author:** ![vishnumohan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vishnumohan/32/1414_2.png) [@vishnumohan](https://forum.mautic.org/u/vishnumohan)\
**Post date:** [April 10, 2022, 7:10am UTC](https://forum.mautic.org/t/install-composer-problem-for-newbie/22977/2 "2022-04-10T07:10:01Z")

</div>

Hey, did you resolve this? i too have the exact same problem.
