{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/1610","repository_url":"https://api.github.com/repos/MISP/MISP","labels_url":"https://api.github.com/repos/MISP/MISP/issues/1610/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/1610/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/1610/events","html_url":"https://github.com/MISP/MISP/pull/1610","id":182999230,"number":1610,"title":"Add rh-php56-bcmath as a requirement for CentOS","user":{"login":"RichieB2B","id":1461970,"avatar_url":"https://avatars.githubusercontent.com/u/1461970?v=3","gravatar_id":"","url":"https://api.github.com/users/RichieB2B","html_url":"https://github.com/RichieB2B","followers_url":"https://api.github.com/users/RichieB2B/followers","following_url":"https://api.github.com/users/RichieB2B/following{/other_user}","gists_url":"https://api.github.com/users/RichieB2B/gists{/gist_id}","starred_url":"https://api.github.com/users/RichieB2B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichieB2B/subscriptions","organizations_url":"https://api.github.com/users/RichieB2B/orgs","repos_url":"https://api.github.com/users/RichieB2B/repos","events_url":"https://api.github.com/users/RichieB2B/events{/privacy}","received_events_url":"https://api.github.com/users/RichieB2B/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T09:06:29Z","updated_at":"2016-10-14T09:11:33Z","closed_at":"2016-10-14T09:11:28Z","pull_request":{"url":"https://api.github.com/repos/MISP/MISP/pulls/1610","html_url":"https://github.com/MISP/MISP/pull/1610","diff_url":"https://github.com/MISP/MISP/pull/1610.diff","patch_url":"https://github.com/MISP/MISP/pull/1610.patch"},"body":"#### What does it do?\r\n\r\nCentOS does not install the bcmath php module by default. MISP uses the bcmod() function when validating IBAN numbers. So rh-php56-bcmath needs to be installed to avoid this error message:\r\n\r\n```\r\n2016-10-12 15:33:43 Error: Fatal Error (1): Call to undefined function bcmod() in [/var/www/MISP/app/Lib/Tools/FinancialTool.php, line 112]\r\n2016-10-12 15:33:43 Error: [InternalErrorException] Internal Server Error\r\n````\r\n#### Questions\r\n\r\n- [ ] Does it require a DB change?\r\n- [x] Are you using it in production?\r\n- [ ] Does it require a change in the API (PyMISP for example)?\r\n\r\n#### Release Type:\r\n- [ ] Major\r\n- [ ] Minor\r\n- [X] Patch\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/253748771","html_url":"https://github.com/MISP/MISP/pull/1610#issuecomment-253748771","issue_url":"https://api.github.com/repos/MISP/MISP/issues/1610","id":253748771,"user":{"login":"iglocska","id":3668672,"avatar_url":"https://avatars.githubusercontent.com/u/3668672?v=3","gravatar_id":"","url":"https://api.github.com/users/iglocska","html_url":"https://github.com/iglocska","followers_url":"https://api.github.com/users/iglocska/followers","following_url":"https://api.github.com/users/iglocska/following{/other_user}","gists_url":"https://api.github.com/users/iglocska/gists{/gist_id}","starred_url":"https://api.github.com/users/iglocska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iglocska/subscriptions","organizations_url":"https://api.github.com/users/iglocska/orgs","repos_url":"https://api.github.com/users/iglocska/repos","events_url":"https://api.github.com/users/iglocska/events{/privacy}","received_events_url":"https://api.github.com/users/iglocska/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T09:11:33Z","updated_at":"2016-10-14T09:11:33Z","body":"Thanks a lot!"}}
{"actor":{"display_login":"iglocska"}}