{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9633","labels_url":"https://api.github.com/repos/laravel/framework/issues/9633/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9633/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9633/events","html_url":"https://github.com/laravel/framework/issues/9633","id":95180557,"number":9633,"title":"[L5] getenv() doesn't return .env values on FreeBSD","user":{"login":"aimeos","id":8647429,"avatar_url":"https://avatars.githubusercontent.com/u/8647429?v=3","gravatar_id":"","url":"https://api.github.com/users/aimeos","html_url":"https://github.com/aimeos","followers_url":"https://api.github.com/users/aimeos/followers","following_url":"https://api.github.com/users/aimeos/following{/other_user}","gists_url":"https://api.github.com/users/aimeos/gists{/gist_id}","starred_url":"https://api.github.com/users/aimeos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aimeos/subscriptions","organizations_url":"https://api.github.com/users/aimeos/orgs","repos_url":"https://api.github.com/users/aimeos/repos","events_url":"https://api.github.com/users/aimeos/events{/privacy}","received_events_url":"https://api.github.com/users/aimeos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-15T12:29:06Z","updated_at":"2015-07-16T20:53:37Z","closed_at":null,"body":"We've seen the problem that getenv() used in the env() helper function doesn't return the values from the .env file even if the are available via $_ENV. We noticed that on a FreeBSD machine.\r\n\r\nSolution in Illuminate/Foundation/helpers.php:628\r\n- $value = getenv($key);\r\n+ $value = $_ENV[$key];\r\n\r\nAn \"isset($_ENV[$key]) check should be done before."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/122090002","html_url":"https://github.com/laravel/framework/issues/9633#issuecomment-122090002","issue_url":"https://api.github.com/repos/laravel/framework/issues/9633","id":122090002,"user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T20:53:37Z","updated_at":"2015-07-16T20:53:37Z","body":"Ping @taylorotwell. Not my call on what to do."}}