PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 67108872 bytes) in phar:///usr/sbin/composer/src/Composer/DependencyResolver/RuleSet.php on line 83
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 67108872 bytes) in phar:///usr/sbin/composer/src/Composer/DependencyResolver/RuleSet.php on line 83
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.root@localhost:/home/runcloud/webapps#
I understood that the whole reason to move to composer was to avoid PHP and memory errors. So why am I still getting PHP memory errors!?!?!?
** Prepare for personal rant **
I will repeat myself from other posts I have made. This decision to move to composer for installs and updates, while it may be a good approach, was made by a developer, not by a user. I am not a developer. I don’t use Github to house my own projects. I have no idea how any of this works and most of the CLI stuff is beyond my current level of understanding. I can build websites and I know how to set up hosting. Transferring files via FTP and configuring the sites in my hosting. If CLI is the better way then why do we have WHM and cPanel and Plesk? Because not everyone is a developer and many people need a UI with options to choose from to make heads or tails of things.
I have nothing against learning but this topic is outside of my area of study nor am I particularly interested in going down that path. I am a small business owner (photographer) that looks after my own stuff. I don’t develop applications for a living nor do I manage networks or large IT installations.
In this situation, I am trying to decipher the manual and apply it to my installation which is managed by a third party, Runcloud. The directory structure is different and running into complications leaves me in the lurch. Runcloud will not advise as it’s not part of their support.
I am not sure about updating but composer is a dependency manager for php.
The error produced tells us that your php is lacking memory so try increasing memory in php.ini and try again.
And I do somewhat agree with your rant but oh well … I preferred to stay away from CLI. Cpanel or web management etc offer CLI as part of the package now. It depends on the host provider to have it enabled or not.
I had to enable my Cpanel terminal account then use a certain string with composer to install it in Cpanel’s tree structure directories since when I tried to install Mautic outside of the rootdoc folder, it wouldn’t function property and give off a bunch of errors in log.
No log file was created. My assumption is that the local.php paths need to be updated after the move, but i’m not sure to where. I plan on doing a clean install so i can see how composer is handling the local.php paths when i have time.