{"action":"created","issue":{"url":"https://api.github.com/repos/BookStackApp/BookStack/issues/902","repository_url":"https://api.github.com/repos/BookStackApp/BookStack","labels_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/902/labels{/name}","comments_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/902/comments","events_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/902/events","html_url":"https://github.com/BookStackApp/BookStack/issues/902","id":336044417,"node_id":"MDU6SXNzdWUzMzYwNDQ0MTc=","number":902,"title":"PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in aws/aws-sdk-php/src/functions.php on line 36","user":{"login":"KyferEz","id":770397,"node_id":"MDQ6VXNlcjc3MDM5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/770397?v=4","gravatar_id":"","url":"https://api.github.com/users/KyferEz","html_url":"https://github.com/KyferEz","followers_url":"https://api.github.com/users/KyferEz/followers","following_url":"https://api.github.com/users/KyferEz/following{/other_user}","gists_url":"https://api.github.com/users/KyferEz/gists{/gist_id}","starred_url":"https://api.github.com/users/KyferEz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyferEz/subscriptions","organizations_url":"https://api.github.com/users/KyferEz/orgs","repos_url":"https://api.github.com/users/KyferEz/repos","events_url":"https://api.github.com/users/KyferEz/events{/privacy}","received_events_url":"https://api.github.com/users/KyferEz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T01:20:39Z","updated_at":"2018-06-27T04:55:15Z","closed_at":null,"author_association":"NONE","body":"### For Bug Reports\r\n\r\n* BookStack Version *(Found in settings, Please don't put 'latest')*: v0.22.0\r\n* PHP Version: default 5.4, also have installed 7.1 as FPM/CGI\r\n* MySQL Version: Ver 15.1 Distrib 5.5.56-MariaDB\r\n\r\n##### Expected Behavior\r\n\r\nUse the configured PHP version for the site\r\n\r\n##### Current Behavior\r\n\r\nUses default PHP version\r\n\r\n##### Steps to Reproduce\r\n\r\nSetup CentOS 7 Perfect server with ISPConfig using this guide: https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/\r\n\r\nThen install PHP7.1 using this guide: https://www.sunaryohadi.info/additional-php-versions-centos-7-nginx-ispconfig-3-gce.htm\r\n\r\nThen create a site and set the site's PHP version to use 7.1\r\n\r\nYou will receive this error when trying to run \"composer install\":\r\nPHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in /var/www/clients/client1/web1/web/docs/vendor/aws/aws-sdk-php/src/functions.php on line 36\r\n"},"comment":{"url":"https://api.github.com/repos/BookStackApp/BookStack/issues/comments/400542427","html_url":"https://github.com/BookStackApp/BookStack/issues/902#issuecomment-400542427","issue_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/902","id":400542427,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDU0MjQyNw==","user":{"login":"lommes","id":4281150,"node_id":"MDQ6VXNlcjQyODExNTA=","avatar_url":"https://avatars1.githubusercontent.com/u/4281150?v=4","gravatar_id":"","url":"https://api.github.com/users/lommes","html_url":"https://github.com/lommes","followers_url":"https://api.github.com/users/lommes/followers","following_url":"https://api.github.com/users/lommes/following{/other_user}","gists_url":"https://api.github.com/users/lommes/gists{/gist_id}","starred_url":"https://api.github.com/users/lommes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lommes/subscriptions","organizations_url":"https://api.github.com/users/lommes/orgs","repos_url":"https://api.github.com/users/lommes/repos","events_url":"https://api.github.com/users/lommes/events{/privacy}","received_events_url":"https://api.github.com/users/lommes/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T04:55:15Z","updated_at":"2018-06-27T04:55:15Z","author_association":"CONTRIBUTOR","body":"Please verify the PHP version you are using is 5.5+ unsing ```php --version```. This is the version composer tries to use and judging only by the error you posted this might still be 5.4.\r\n\r\nYou may also try running\r\n```PATH=$PATH:/path/to/your/directory/with/php/7.1 composer install``` \r\nbut I think this will still fail due to some scripts in composer.json, but you will get past the package installation with that.\r\n"}}
{"actor":{"display_login":"lommes"}}