# Issue with composer

**URL:** <https://forum.mautic.org/t/issue-with-composer/24366>\
**Category:** Product Support\
**Created:** [June 4, 2022, 7:58am UTC](https://forum.mautic.org/t/issue-with-composer/24366 "2022-06-04T07:58:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio-lazzari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/antonio-lazzari/32/737_2.png) [@antonio-lazzari](https://forum.mautic.org/u/antonio-lazzari)\
**Post date:** [June 4, 2022, 7:58am UTC](https://forum.mautic.org/t/issue-with-composer/24366/1 "2022-06-04T07:58:10Z")

</div>

**Your software**  
My Mautic version is:4.3.1  
My PHP version is:7.4.29  
My Database type and version is:5.7.32

**Your problem**  
My problem is:  
Hi folks I’m trying to install composer using the guide on Mautic docs:

> **[How to switch to Composer](https://docs.mautic.org/en/setup/switch-to-composer)**
>
> . Up until Mautic 4, users could download Mautic as a ZIP file and install it on any PHP server. However, many users were running into installation and update errors, many of which caused considerable frustration and in some cases, significant...

but during the last steps (I think) I had this problems:

mmap() failed: [12] Cannot allocate memory Fatal error: Out of memory (allocated 1558192128) (tried to allocate 268435464 bytes) in phar:///usr/local/bin/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 86

My server support said that all work fine, they can’t see any issues and the mautic docs are fine so I’m all right.  
Composer is installed on the server and they have Laravel, I’ll need to activate it under the subdomain and the Mautic guide is correct.  
I’m new to composer and drupal world and I will study for September V5 on a test subdomain. They said that problably there are a conflict but they can’t understand which.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 6, 2022, 6:39am UTC](https://forum.mautic.org/t/issue-with-composer/24366/2 "2022-06-06T06:39:46Z")

</div>

Hello @antonio-lazzari , this seemsnlike a memory issue to me. Php memory too low?

---

<div class="post-metadata">

**Author:** ![antonio-lazzari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/antonio-lazzari/32/737_2.png) [@antonio-lazzari](https://forum.mautic.org/u/antonio-lazzari)\
**Post date:** [June 6, 2022, 7:30am UTC](https://forum.mautic.org/t/issue-with-composer/24366/3 "2022-06-06T07:30:57Z")

</div>

Yes @joeyk I know but the php memory is not too low, no issues on the log for memory. The server sysadmins told me it should be a conflict problem that is not revealed in the logs and I’m trying to figure out if there are any known conflicts or if someone has experienced a similar situation. Some ideas? Out of curiosity, how much memory have you allocated on your server?  
Thanks
