{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/homestead/issues/710","repository_url":"https://api.github.com/repos/laravel/homestead","labels_url":"https://api.github.com/repos/laravel/homestead/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/laravel/homestead/issues/710/comments","events_url":"https://api.github.com/repos/laravel/homestead/issues/710/events","html_url":"https://github.com/laravel/homestead/issues/710","id":268142621,"number":710,"title":"Setting env variables does not work for PHP 5.6 any more","user":{"login":"dakira","id":576555,"avatar_url":"https://avatars1.githubusercontent.com/u/576555?v=4","gravatar_id":"","url":"https://api.github.com/users/dakira","html_url":"https://github.com/dakira","followers_url":"https://api.github.com/users/dakira/followers","following_url":"https://api.github.com/users/dakira/following{/other_user}","gists_url":"https://api.github.com/users/dakira/gists{/gist_id}","starred_url":"https://api.github.com/users/dakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakira/subscriptions","organizations_url":"https://api.github.com/users/dakira/orgs","repos_url":"https://api.github.com/users/dakira/repos","events_url":"https://api.github.com/users/dakira/events{/privacy}","received_events_url":"https://api.github.com/users/dakira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T18:41:10Z","updated_at":"2017-10-24T18:54:48Z","closed_at":"2017-10-24T18:54:48Z","author_association":"NONE","body":"## Versions\r\n  - Vagrant: 2.0.0\r\n  - Provider: 5.1.30\r\n  - Homestead: 6.5.0\r\n\r\n## Host operating system\r\nUbuntu 17.10\r\n\r\n## Homestead.yaml\r\n```yaml\r\nvariables:\r\n    - key: APP_ENV\r\n      value: whatever\r\n```\r\n\r\n## Vagrant up output\r\n```\r\nOct 24 17:55:48 homestead php-fpm5.6[4349]: [24-Oct-2017 17:55:48] ERROR: [/etc/php/5.6/fpm/php-fpm.conf:526] Array are not allowed in the global section\r\nOct 24 17:55:48 homestead php-fpm5.6[4349]: [24-Oct-2017 17:55:48] ERROR: failed to load configuration file '/etc/php/5.6/fpm/php-fpm.conf'\r\nOct 24 17:55:48 homestead php-fpm5.6[4349]: [24-Oct-2017 17:55:48] ERROR: FPM initialization failed\r\nOct 24 17:55:48 homestead systemd[1]: php5.6-fpm.service: Main process exited, code=exited, status=78/n/a\r\nOct 24 17:55:48 homestead systemd[1]: Failed to start The PHP 5.6 FastCGI Process Manager.\r\n```\r\n## Expected behavior\r\nEnvironment variables should be set and all PHP-FPMs should load.\r\n\r\n## Actual behavior\r\nPHP 5.6 fails to load because suddenly arrays are not allowed anymore in the global section of php.ini or php-fpm.conf.\r\n\r\n## Steps to reproduce\r\n1. On a fresh Homestead, set an environment variable as seen in the snippet above\r\n2. Run vagrant reload --provision\r\n\r\n## Notes\r\nThis does work when the env array is instead added to */etc/php/5.6/fpm/pool.d/www.conf*. Maybe it should be added there in any case (e.g. for all PHP versions)."},"comment":{"url":"https://api.github.com/repos/laravel/homestead/issues/comments/339094635","html_url":"https://github.com/laravel/homestead/issues/710#issuecomment-339094635","issue_url":"https://api.github.com/repos/laravel/homestead/issues/710","id":339094635,"user":{"login":"svpernova09","id":967362,"avatar_url":"https://avatars2.githubusercontent.com/u/967362?v=4","gravatar_id":"","url":"https://api.github.com/users/svpernova09","html_url":"https://github.com/svpernova09","followers_url":"https://api.github.com/users/svpernova09/followers","following_url":"https://api.github.com/users/svpernova09/following{/other_user}","gists_url":"https://api.github.com/users/svpernova09/gists{/gist_id}","starred_url":"https://api.github.com/users/svpernova09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svpernova09/subscriptions","organizations_url":"https://api.github.com/users/svpernova09/orgs","repos_url":"https://api.github.com/users/svpernova09/repos","events_url":"https://api.github.com/users/svpernova09/events{/privacy}","received_events_url":"https://api.github.com/users/svpernova09/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T18:54:48Z","updated_at":"2017-10-24T18:54:48Z","author_association":"COLLABORATOR","body":"This is a known issue we came across. Check this for a solution: https://github.com/laravel/homestead/issues/625#issuecomment-319239219"}}
{"actor":{"display_login":"svpernova09"}}