Answers.Body: <p>The issue was due to a path problem.
  Path was set to</p>
  
  <pre><code>/Applications/MAMP/bin/php/php7.3.3/lib/php
  </code></pre>
  
  <p>but should have been</p>
  
  <pre><code>/Applications/MAMP/bin/php/php7.3.3/bin
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T10:36:10.277Z
Answers.Text: Thanks for this. I'm getting `pecl` command not found. I've tried working through https://stackoverflow.com/a/54883630/639538 but with no joy.
Answers.UserDisplayName: Jonathan Schofield
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T10:50:53.183Z
Answers.Text: Managed to get somewhere with `pecl` with https://tobschall.de/2019/10/03/pear-on-catalina/. But now when I cd into my PHP bin and run `pecl install zip` I get "No releases available for package 'pecl.php.net/zip' install failed".
Answers.UserDisplayName: Jonathan Schofield
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T13:56:54.787Z
Answers.Text: [Chad's comment](https://github.com/craftcms/cms/issues/4927#issuecomment-576940030) under craftcms issue #4927 is helpful -- at least in terms of “the Craft system report is looking at MAMP's php info, whereas composer is looking at the system php info, which didn't have zip installed”. But I'm still no closer.
Answers.UserDisplayName: Jonathan Schofield
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T15:41:06.127Z
Answers.Text: Promising insights from Brian about [how to run Composer more context sensitively](https://github.com/craftcms/cms/issues/4927#issuecomment-593977141). Will investigate further when I have time.
Answers.UserDisplayName: Jonathan Schofield
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-19T17:04:31.677Z
Answers.LastActivityDate: 2019-12-19T17:04:31.677Z
Answers.UserDisplayName: Seraphim Jester
Answers.Body: <p>None of various attempts to get ext-zip going under Catalina had worked for me, including the above, but here’s what did, with thanks to <a href="https://github.com/craftcms/cms/issues/4927#issuecomment-576940030" rel="nofollow noreferrer">Chad</a> for showing the essence of the issue:</p>
  
  <blockquote>
    <p>“the Craft system report is looking at MAMP's php info, whereas composer is looking at the system php info, which didn't have zip installed.”</p>
  </blockquote>
  
  <p>…and then <a href="https://github.com/craftcms/cms/issues/4927#issuecomment-593977141" rel="nofollow noreferrer">Brian</a> for what worked for me: </p>
  
  <blockquote>
    <p>“run composer on the command line specifically against the MAMP version of PHP”</p>
  </blockquote>
  
  <p>Like this:</p>
  
  <p><code>/Applications/MAMP/bin/php/&lt;phpX.X&gt;/bin/php &lt;/path/to/composer&gt; create-project craftcms/craft &lt;/path/to/project-folder&gt;</code></p>
  
  <p>In my case: </p>
  
  <ul>
  <li><code>&lt;phpX.X&gt;</code> is <code>php7.3.3</code></li>
  <li><code>&lt;/path/to/composer&gt;</code> is <code>/usr/local/bin/composer</code></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T18:36:19.423Z
Answers.LastActivityDate: 2020-03-03T18:36:19.423Z
Answers.UserDisplayName: Jonathan Schofield
Body: <h1>Issue:</h1>
  <pre><code>craftcms/cms 3.3.9 requires ext-zip * -&gt; the requested PHP extension zip is missing from your system.
  </code></pre>
  <h1>Details:</h1>
  <p>I am running on <code>MAMP Pro 5.3</code>. Currently using <code>PHP 7.3.3</code> (but previous versions had the same issue). <code>Mac OS Catalina</code>.
  I do not seem to be able to get ext-zip on my machine, and thusly not use many of the updated craft installs.</p>
  <h1>Attempted Solutions:</h1>
  Install for macOS
  <p><a href="https://stackoverflow.com/a/58300437">https://stackoverflow.com/a/58300437</a></p>
  Install in MAMP
  <p><a href="https://stackoverflow.com/a/59293432">https://stackoverflow.com/a/59293432</a></p>
  <pre><code>cd /{php ext path}
  pecl install zip
  php --re zip | grep zip // version 1.15.4
  </code></pre>
  <p>(terminal php is set to mamp version)</p>
  <pre><code># php7.3.3.ini (I also tried extension=zip.so)
  ; If you wish to have an extension loaded automatically, use the following
  ; syntax:
  ;
  ;   extension=modulename
      extension=&quot;/Applications/MAMP/bin/php/php7.3.3/lib/php/extensions/no-debug-non-zts-20180731/zip.so&quot;
  
  </code></pre>
  
Tags: <craft3><php><updates><mamp>
Title: ext-zip trouble
ThreadText: # ext-zip trouble
  
  (Asked by: username_0 on 2019-12-19)
  
  # Issue:
  
  ```
  craftcms/cms 3.3.9 requires ext-zip * -> the requested PHP extension zip is missing from your system.
  
  ```
  
  # Details:
  
  I am running on `MAMP Pro 5.3`. Currently using `PHP 7.3.3` (but previous versions had the same issue). `Mac OS Catalina`.
  I do not seem to be able to get ext-zip on my machine, and thusly not use many of the updated craft installs.
  
  # Attempted Solutions:
  
  Install for macOS
  
  <https://stackoverflow.com/a/58300437>
  
  Install in MAMP
  
  <https://stackoverflow.com/a/59293432>
  
  ```
  cd /{php ext path}
  pecl install zip
  php --re zip | grep zip // version 1.15.4
  
  ```
  
  (terminal php is set to mamp version)
  
  ```
  # php7.3.3.ini (I also tried extension=zip.so)
  ; If you wish to have an extension loaded automatically, use the following
  ; syntax:
  ;
  ;   extension=modulename
      extension="/Applications/MAMP/bin/php/php7.3.3/lib/php/extensions/no-debug-non-zts-20180731/zip.so"
  
  ```
  
  **Tags:** craft3, php, updates, mamp
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2019-12-19. Score: 1 | Accepted answer
  
  The issue was due to a path problem.
  Path was set to
  
  ```
  /Applications/MAMP/bin/php/php7.3.3/lib/php
  
  ```
  
  but should have been
  
  ```
  /Applications/MAMP/bin/php/php7.3.3/bin
  
  ```
  
  > **Comments:**
  > **username_1**: Thanks for this. I'm getting `pecl` command not found. I've tried working through https://stackoverflow.com/a/54883630/639538 but with no joy.  
  > **username_1**: Managed to get somewhere with `pecl` with https://tobschall.de/2019/10/03/pear-on-catalina/. But now when I cd into my PHP bin and run `pecl install zip` I get "No releases available for package 'pecl.php.net/zip' install failed".  
  > **username_1**: [Chad's comment](https://github.com/craftcms/cms/issues/4927#issuecomment-576940030) under craftcms issue #4927 is helpful -- at least in terms of “the Craft system report is looking at MAMP's php info, whereas composer is looking at the system php info, which didn't have zip installed”. But I'm still no closer.  
  > **username_1**: Promising insights from Brian about [how to run Composer more context sensitively](https://github.com/craftcms/cms/issues/4927#issuecomment-593977141). Will investigate further when I have time.  
  
  ---
  
  ### Answer by username_1 on 2020-03-03. Score: 4
  
  None of various attempts to get ext-zip going under Catalina had worked for me, including the above, but here’s what did, with thanks to [Chad](https://github.com/craftcms/cms/issues/4927#issuecomment-576940030) for showing the essence of the issue:
  
  > “the Craft system report is looking at MAMP's php info, whereas composer is looking at the system php info, which didn't have zip installed.”
  
  …and then [Brian](https://github.com/craftcms/cms/issues/4927#issuecomment-593977141) for what worked for me:
  
  > “run composer on the command line specifically against the MAMP version of PHP”
  
  Like this:
  
  `/Applications/MAMP/bin/php/<phpX.X>/bin/php </path/to/composer> create-project craftcms/craft </path/to/project-folder>`
  
  In my case:
  
  * `<phpX.X>` is `php7.3.3`
  * `</path/to/composer>` is `/usr/local/bin/composer`
  
  
  ---
  
  