Skip to content

Added AWS_DISABLE_CONFIG_AUTO_DISCOVERY constant to config file#8

Open
timborden wants to merge 1 commit intomorgan:3.2/masterfrom
timborden:3.2/master
Open

Added AWS_DISABLE_CONFIG_AUTO_DISCOVERY constant to config file#8
timborden wants to merge 1 commit intomorgan:3.2/masterfrom
timborden:3.2/master

Conversation

@timborden
Copy link
Contributor

Config auto discovery caused open_basedir restriction on Cloudfoundry servers (AppFog). I added the AWS_DISABLE_CONFIG_AUTO_DISCOVERY constant to the kohana config file.

Here's the error:

ErrorException: file_exists(): open_basedir restriction in effect. File(/home/vcap-user-###/.aws/sdk/config.inc.php) is not within the allowed path(s): (/usr/share/php:/usr/share/pear:/usr/share/php/libzend-framework-php:/var/vcap.local/dea/apps/###/tmp:/var/vcap.local/dea/apps/###/app)
1
File "/mnt/var/vcap.local/dea/apps/###/app/modules/storage/vendor/aws-sdk/sdk.class.php" line 1511 in error_handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant