{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3444","repository_url":"https://api.github.com/repos/Homebrew/homebrew-php","labels_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3444/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3444/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3444/events","html_url":"https://github.com/Homebrew/homebrew-php/issues/3444","id":169219456,"number":3444,"title":"Install PHP70: Incompatible library version","user":{"login":"dmetzler1988","id":8446518,"avatar_url":"https://avatars.githubusercontent.com/u/8446518?v=3","gravatar_id":"","url":"https://api.github.com/users/dmetzler1988","html_url":"https://github.com/dmetzler1988","followers_url":"https://api.github.com/users/dmetzler1988/followers","following_url":"https://api.github.com/users/dmetzler1988/following{/other_user}","gists_url":"https://api.github.com/users/dmetzler1988/gists{/gist_id}","starred_url":"https://api.github.com/users/dmetzler1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmetzler1988/subscriptions","organizations_url":"https://api.github.com/users/dmetzler1988/orgs","repos_url":"https://api.github.com/users/dmetzler1988/repos","events_url":"https://api.github.com/users/dmetzler1988/events{/privacy}","received_events_url":"https://api.github.com/users/dmetzler1988/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew-php/labels/External%20Issue","name":"External Issue","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-08-03T19:56:36Z","updated_at":"2016-08-04T12:40:06Z","closed_at":null,"body":"## Description\r\n\r\nI have the same issue than many others.\r\nI had installed php55. I would update to php70, so i had done following steps:\r\n\r\n* brew update && brew upgrade\r\n* sudo unlink php55\r\n* sudo uninstall php55\r\n* sudo install php70\r\n* in httpd.conf of apache2 i commented out the line `LoadModule php5_module    /usr/local/opt/php55/libexec/apache2/libphp5.so`\r\n* in httpd.conf of apache2 i paste in the lines\r\n```\r\nLoadModule php7_module    /usr/local/opt/php70/libexec/apache2/libphp7.so\r\n\r\n<FilesMatch .php$>\r\n    SetHandler application/x-httpd-php\r\n</FilesMatch>\r\n```\r\n* sudo apachectl restart\r\n* apachectl configtest\r\n\r\nthis configtest results the error:\r\n`httpd: Syntax error on line 178 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/opt/php70/libexec/apache2/libphp7.so into server: dlopen(/usr/local/opt/php70/libexec/apache2/libphp7.so, 10): Library not loaded: /usr/local/opt/libxml2/lib/libxml2.2.dylib\\n  Referenced from: /usr/local/opt/php70/libexec/apache2/libphp7.so\\n  Reason: Incompatible library version: libphp7.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0`\r\n\r\nThe following packages are installed:\r\n* ack\r\n* autoconf\r\n* composer\r\n* dnsmasq\r\n* freetype\r\n* gettext\r\n* icu4c\r\n* jpeg\r\n* libpng\r\n* libxml2\r\n* mysql\r\n* node\r\n* nvm\r\n* openssl\r\n* php70\r\n* readline\r\n* unixodbc\t\t\t\t\t\t\r\n\r\nCan anyone help please?\r\n\r\n## Context and Logs\r\n\r\nParameter | Value\r\n--------- | ------------------\r\n**OS X Version:**       | 10.11.6\r\n**Homebrew Version:**   | 0.9.9\r\n**PHP Version in use:** | 7.0\r\n**Xcode Version:**      | 2343\r\n\r\n**Output of gcc -v:**\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 7.3.0 (clang-703.0.31)\r\nTarget: x86_64-apple-darwin15.6.0\r\nThread model: posix\r\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\r\n\r\n**Output of php -v:**\r\nPHP 7.0.9 (cli) (built: Jul 21 2016 14:50:47) ( NTS )\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/comments/237540703","html_url":"https://github.com/Homebrew/homebrew-php/issues/3444#issuecomment-237540703","issue_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3444","id":237540703,"user":{"login":"javian","id":527069,"avatar_url":"https://avatars.githubusercontent.com/u/527069?v=3","gravatar_id":"","url":"https://api.github.com/users/javian","html_url":"https://github.com/javian","followers_url":"https://api.github.com/users/javian/followers","following_url":"https://api.github.com/users/javian/following{/other_user}","gists_url":"https://api.github.com/users/javian/gists{/gist_id}","starred_url":"https://api.github.com/users/javian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javian/subscriptions","organizations_url":"https://api.github.com/users/javian/orgs","repos_url":"https://api.github.com/users/javian/repos","events_url":"https://api.github.com/users/javian/events{/privacy}","received_events_url":"https://api.github.com/users/javian/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T12:40:06Z","updated_at":"2016-08-04T12:40:06Z","body":"did you miss the imac pasting ?"}}
{"actor":{"display_login":"javian"}}