{"action":"created","issue":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/53","labels_url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/53/comments","events_url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/53/events","html_url":"https://github.com/geerlingguy/ansible-role-php/issues/53","id":106067357,"number":53,"title":"php.ini is not applied","user":{"login":"ArtemProkopenko","id":2063371,"avatar_url":"https://avatars.githubusercontent.com/u/2063371?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtemProkopenko","html_url":"https://github.com/ArtemProkopenko","followers_url":"https://api.github.com/users/ArtemProkopenko/followers","following_url":"https://api.github.com/users/ArtemProkopenko/following{/other_user}","gists_url":"https://api.github.com/users/ArtemProkopenko/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemProkopenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemProkopenko/subscriptions","organizations_url":"https://api.github.com/users/ArtemProkopenko/orgs","repos_url":"https://api.github.com/users/ArtemProkopenko/repos","events_url":"https://api.github.com/users/ArtemProkopenko/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemProkopenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T18:34:37Z","updated_at":"2015-10-09T12:33:27Z","closed_at":null,"body":"Hello, I'm not sure whether it's a bug.\r\nRole creates a configuration in /etc/php5/php.ini, but PHP use another files:\r\n/etc/php5/cli/php.ini - for cli, and\r\n/etc/php5/fpm/php.ini - for php-fpm\r\n\r\nThis forces to write additional code\r\n```\r\n    - name: Copy php.ini to php5/cli\r\n      command: cp /etc/php5/php.ini /etc/php5/cli/php.ini\r\n\r\n    - name: Copy php.ini to php5/fpm\r\n      command: cp /etc/php5/php.ini /etc/php5/fpm/php.ini\r\n      notify: restart php-fpm\r\n```"},"comment":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/comments/146854144","html_url":"https://github.com/geerlingguy/ansible-role-php/issues/53#issuecomment-146854144","issue_url":"https://api.github.com/repos/geerlingguy/ansible-role-php/issues/53","id":146854144,"user":{"login":"mikegleasonjr","id":1644534,"avatar_url":"https://avatars.githubusercontent.com/u/1644534?v=3","gravatar_id":"","url":"https://api.github.com/users/mikegleasonjr","html_url":"https://github.com/mikegleasonjr","followers_url":"https://api.github.com/users/mikegleasonjr/followers","following_url":"https://api.github.com/users/mikegleasonjr/following{/other_user}","gists_url":"https://api.github.com/users/mikegleasonjr/gists{/gist_id}","starred_url":"https://api.github.com/users/mikegleasonjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikegleasonjr/subscriptions","organizations_url":"https://api.github.com/users/mikegleasonjr/orgs","repos_url":"https://api.github.com/users/mikegleasonjr/repos","events_url":"https://api.github.com/users/mikegleasonjr/events{/privacy}","received_events_url":"https://api.github.com/users/mikegleasonjr/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T12:33:27Z","updated_at":"2015-10-09T12:33:27Z","body":":+1: \r\n\r\nI'm also using php-fpm and experiencing the same bug.. my `phpinfo()` says...\r\n\r\n```\r\nLoaded Configuration File\t/etc/php5/fpm/php.ini\r\n```\r\nBut the template modified is:\r\n\r\n```\r\n/etc/php5/php.ini\r\n```\r\n\r\nThank you for your modules, I'm using 3-4 of them :)"}}