Open FrittenKeeZ opened 4 years ago
Running composer install within the Statamic folder and open_basedir restriction enabled, will cause the site to hit an internal 500 error.
composer install
open_basedir
The problem lies within composer.json in this section:
composer.json
"autoload-dev": { "psr-4": { "Tests\\": [ "../../tests", "../site/tests" ], "Statamic\\Addons\\": "../../tests/addon-stubs" } },
Apart from site tests, the others paths are jumping up one level too much. This should be corrected to:
"autoload-dev": { "psr-4": { "Tests\\": [ "../tests", "../site/tests" ], "Statamic\\Addons\\": "../tests/addon-stubs" } },
Running
composer install
within the Statamic folder andopen_basedir
restriction enabled, will cause the site to hit an internal 500 error.The problem lies within
composer.json
in this section:Apart from site tests, the others paths are jumping up one level too much. This should be corrected to: