Moin zusammen,
ich habe eben eine frische Installation (Contao 3.5.17, Composer und MM2) aufgesetzt/aufsetzen wollen.
Bei der MM2 Installation lief ich dann in den Memory-size-Error:
Code:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 72 bytes) in phar:///var/www/virtual/XXX/html/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 773
Ich habe ein Github oAuth Token und in die composer.json sieht auch nicht schlecht aus:
Code:
{
"name": "local/website",
"description": "A local website project",
"type": "project",
"license": "proprietary",
"require": {
"contao-community-alliance/composer-client": "~0.12",
"metamodels/bundle_all": ">=2.0.0.0,<2.1-dev"
},
"prefer-stable": true,
"minimum-stability": "dev",
"config": {
"preferred-install": "dist",
"cache-dir": "cache",
"component-dir": "../assets/components",
"github-oauth": {
"github.com": "2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb"
}
},
"repositories": [
{
"type": "composer",
"url": "https://legacy-packages-via.contao-community-alliance.org/"
},
{
"type": "composer",
"url": "https?://legacy-packages-via.contao-community-alliance.org",
"allow_ssl_downgrade": false
},
{
"type": "artifact",
"url": "packages"
}
],
"extra": {
"contao": {
"migrated": "done"
}
}
}
What the hack?
Mein Server steht bei uberspace. Ich habe für die MM2 Installation die php.ini an zwei Stellen angepasst:
- max_execution_time = 60
- memory_limit = 256M
Was fällt mir auf die Füße?
Danke euch für eure Hilfe,
Henrik
Lesezeichen