{"id":17897932,"url":"https://github.com/felixhaeberle/brew-php-update-macosx","last_synced_at":"2026-04-06T08:01:46.541Z","repository":{"id":128285070,"uuid":"116325609","full_name":"felixhaeberle/brew-php-update-macosx","owner":"felixhaeberle","description":"Here are some brew commands to update your macosx php version to 7.1, including curl and mcrypt.","archived":false,"fork":false,"pushed_at":"2018-01-15T23:05:50.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T04:43:08.835Z","etag":null,"topics":["brew","macosx","php71","shell-script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felixhaeberle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-05T01:30:36.000Z","updated_at":"2018-01-05T02:01:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"51649fdb-b0e4-4d55-a6c1-dce0d921550a","html_url":"https://github.com/felixhaeberle/brew-php-update-macosx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felixhaeberle/brew-php-update-macosx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Fbrew-php-update-macosx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Fbrew-php-update-macosx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Fbrew-php-update-macosx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Fbrew-php-update-macosx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixhaeberle","download_url":"https://codeload.github.com/felixhaeberle/brew-php-update-macosx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixhaeberle%2Fbrew-php-update-macosx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brew","macosx","php71","shell-script"],"created_at":"2024-10-28T15:20:18.363Z","updated_at":"2026-04-06T08:01:46.518Z","avatar_url":"https://github.com/felixhaeberle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brew-php-update-macosx\nHere are some brew commands to **update your macosx php version to 7.1**, including curl and mcrypt.\n\n### First step\n\nIf you haven't `brew` installed on your local machine, feel free to do so with\n\n`/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"`\n\nCopy and paste that snippet in your `Terminal` and the script will guide you through the installation process.\n\nYou can get more info for the installation process here: [brew.sh](https://brew.sh)\n\n### Second step\n\nIf you have brew installed, follow the commands provided in the `brew_php71_macosx.sh` file to install php 7.1 on your machine.\n\nOr type in the following:\n\n```\nbrew tap homebrew/dupes\nbrew tap homebrew/versions\nbrew tap homebrew/homebrew-php\n\nbrew install --with-openssl curl\nbrew install --with-homebrew-curl --with-apache php71\nbrew install php71-mcrypt php71-imagick\n\nbrew info php71\nsudo apachectl restart\nsource ~/.profile\n```\n\n### Third step - **Good to know**\n\nIf you check your php version with `php -v` in your terminal and it still shows the old version, type in\n\n`export PATH=/usr/local/php5/bin:$PATH`\n\nThe PATH settings should then update to the proper version.\n\n### Links\n\n- [Best php source of macosx (with upgrade instructions) (php-osx.liip.ch)](https://php-osx.liip.ch/)\n- [Stackoverflow on HowTo Upgrade to PHP 7.1](https://stackoverflow.com/questions/2526085/how-do-i-upgrade-php-in-mac-os-x)\n- [Nice blog post on howto upgrade](https://developerjack.com/blog/2016/installing-php71-with-homebrew/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixhaeberle%2Fbrew-php-update-macosx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixhaeberle%2Fbrew-php-update-macosx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixhaeberle%2Fbrew-php-update-macosx/lists"}