{"action":"created","issue":{"url":"https://api.github.com/repos/lirantal/daloradius/issues/5","repository_url":"https://api.github.com/repos/lirantal/daloradius","labels_url":"https://api.github.com/repos/lirantal/daloradius/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/lirantal/daloradius/issues/5/comments","events_url":"https://api.github.com/repos/lirantal/daloradius/issues/5/events","html_url":"https://github.com/lirantal/daloradius/issues/5","id":164603682,"number":5,"title":"daloRADIUS PHP-7 Support","user":{"login":"lirantal","id":316371,"avatar_url":"https://avatars.githubusercontent.com/u/316371?v=3","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lirantal/daloradius/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"lirantal","id":316371,"avatar_url":"https://avatars.githubusercontent.com/u/316371?v=3","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"assignees":[{"login":"lirantal","id":316371,"avatar_url":"https://avatars.githubusercontent.com/u/316371?v=3","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2016-07-08T19:50:23Z","updated_at":"2016-09-03T13:18:38Z","closed_at":"2016-08-29T19:17:46Z","body":"# How to get daloRADIUS to work in PHP-7?\r\n\r\n# Dependencies\r\n* This assumes an Ubuntu 16.04 OS installled\r\n* This assumes PHP 7 installed\r\n* This assumes MySQL >= 5.7.5 installed\r\n* This assumes you have already installed all the LAMP related packages and have a working LAMP environment.\r\nNext, is to make sure you have the required extra packages for daloRADIUS, run:\r\n```bash\r\nsudo apt-get install php-common php-gd php-curl php-mail php-mail-mime php-pear php-db\r\n```\r\nand then\r\n```bash\r\npear install DB\r\n```\r\n# daloRADIUS internal change\r\n## Changing file `library/daloradius.conf.php`\r\n\r\nIt's required to update daloRADIUS's database connection code so that it identifies the MySQL server using the new and improved *mysqli* driver:\r\n1. Open for editing the file `library/daloradius.conf.php` and locate the configuration variable `CONFIG_DB_ENGINE` and change it to the value of `mysqli` (it is now probably set to `mysql`, notice the extra `i`). It should end up looking as follows: `$configValues['CONFIG_DB_ENGINE'] = 'mysqli';`\r\n\r\n\r\n## Changing file `library/opendb.php`\r\n1. Open for editing the file `library/opendb.php`\r\n2. At the very end of the file just add this new line of code: `$dbSocket->query(\"SET GLOBAL sql_mode = '';\");` which makes the MySQL version work with less strict SQL syntax"},"comment":{"url":"https://api.github.com/repos/lirantal/daloradius/issues/comments/244546100","html_url":"https://github.com/lirantal/daloradius/issues/5#issuecomment-244546100","issue_url":"https://api.github.com/repos/lirantal/daloradius/issues/5","id":244546100,"user":{"login":"hmachine1999","id":20064633,"avatar_url":"https://avatars.githubusercontent.com/u/20064633?v=3","gravatar_id":"","url":"https://api.github.com/users/hmachine1999","html_url":"https://github.com/hmachine1999","followers_url":"https://api.github.com/users/hmachine1999/followers","following_url":"https://api.github.com/users/hmachine1999/following{/other_user}","gists_url":"https://api.github.com/users/hmachine1999/gists{/gist_id}","starred_url":"https://api.github.com/users/hmachine1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmachine1999/subscriptions","organizations_url":"https://api.github.com/users/hmachine1999/orgs","repos_url":"https://api.github.com/users/hmachine1999/repos","events_url":"https://api.github.com/users/hmachine1999/events{/privacy}","received_events_url":"https://api.github.com/users/hmachine1999/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T13:18:38Z","updated_at":"2016-09-03T13:18:38Z","body":"its help me solve troubles，thx "}}
{"actor":{"display_login":"hmachine1999"}}