-1

我在 All-Inkl.com 有业务托管,不幸的是我不能再在那里使用作曲家了。支持写了更多,我已经达到了 1.5 GB 的限制,而且更多是不可能的。

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)

现在我的问题是,有没有办法让 Composer 更新或一块一块地安装它,以便释放两者之间的内存,或者有没有其他解决方案可以在服务器上运行我的 Laravel 应用程序?

目前,以下包位于 Composer JSON 中。还有更多计划。

    "require": {
    "php": "^7.2.5",
    "ext-json": "*",
    "benjaminhirsch/nova-slug-field": "^1.2",
    "cloudcake/nova-snowball": "^1.2",
    "ctessier/nova-advanced-image-field": "^1.0",
    "davidpiesse/nova-toggle": "^0.0.6",
    "digitalcloud/nova-address-field": "^1.3",
    "dillingham/nova-detail-link": "^1.0",
    "ebess/advanced-nova-media-library": "*",
    "ek0519/quilljs": "^0.1.9",
    "fideloper/proxy": "^4.2",
    "fruitcake/laravel-cors": "^1.0",
    "gabrieliuga/laravel-mail-log": "*",
    "guzzlehttp/guzzle": "^6.3",
    "inspheric/nova-email-field": "^1.42",
    "jenssegers/agent": "^2.6",
    "jubeki/nova-card-linkable": "^1.1",
    "kabbouchi/nova-logs-tool": "*",
    "khalin/nova-link-field": "*",
    "klepak/nova-dynamic-page-title": "^1.0",
    "laraning/nova-time-field": "^0.2.5",
    "laravel/framework": "^7.0",
    "laravel/nova": "*",
    "laravel/tinker": "^2.0",
    "laravel/ui": "^2.0",
    "laravelcollective/html": "^6.1",
    "m-a-k-o/nova-custom-table-card": "^2.0",
    "maatwebsite/laravel-nova-excel": "^1.2",
    "normanhuth/nova-menu-order": "1.0.2",
    "ofcold/nova-sortable": "^1.0",
    "opanegro/field-nova-password-show-hide": "^1.0",
    "raiym/instagram-php-scraper": "^0.9.7",
    "richardkeep/nova-timenow": "^1.0",
    "sbine/route-viewer": "^0.0.6",
    "sidis405/nova-installed-packages": "^0.1.8",
    "spatie/laravel-activitylog": "^3.11",
    "spatie/laravel-backup": "^6.8",
    "spatie/laravel-medialibrary": "^7.19",
    "spatie/laravel-permission": "^3.11",
    "spatie/nova-backup-tool": "*",
    "spatie/schema-org": "^2.12",
    "vyuldashev/nova-permission": "*",
    "whitecube/nova-flexible-content": "^0.1.16"
},
"require-dev": {
    "facade/ignition": "^2.0",
    "fzaninotto/faker": "^1.9.1",
    "mockery/mockery": "^1.3.1",
    "nunomaduro/collision": "^4.1",
    "phpmd/phpmd": "^2.8",
    "phpunit/phpunit": "^8.5",
    "sirbrillig/phpcs-import-detection": "^1.2",
    "sirbrillig/phpcs-variable-analysis": "^2.8",
    "squizlabs/php_codesniffer": "^3.5"
},
4

1 回答 1

0

我尝试了 -1 和 99999 的限制。“All-Inkl”虚拟主机服务器太弱了,已经达到了极限。我现在将更改提供程序并临时手动将包复制到服务器。

于 2020-03-20T11:07:21.290 回答