Answers.Body: <p>.</p>
  
  <ol>
  <li>cd to PHP install directory.</li>
  <li>composer require GuzzleHttp/psr7</li>
  <li>Add this to CiviCRM.settings.php: require_once $_SERVER["PHPRC"]. '/vendor/autoload.php';</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-02T11:18:49.970Z
Answers.LastActivityDate: 2018-04-02T11:18:49.970Z
Answers.UserDisplayName: Stephen Palmstrom
Answers.Body: <p>@stehpen what you could also do there is cd to the civicrm dir and run <code>composer install</code> That will ensure that everything the .lock file requires is installed and it will also update the composer autoloader for civicrm.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-03T00:10:26.963Z
Answers.LastActivityDate: 2018-04-03T00:10:26.963Z
Answers.UserDisplayName: Seamus Lee
Answers.Body: <ol>
  <li><p>Guzzle is a client library for making HTTP requests. As with many PHP libraries required by Civi, it's declared in <code>composer.json</code>.</p></li>
  <li><p>When setting up an installation via <code>git</code>, one's process must install all current dependencies. Whenever I change to a different version, I usually do this with <code>./bin/setup.sh -D</code> (or something even higher level, like <code>./bin/setup.sh</code> or <code>civibuild reinstall</code>), but I don't know if those work under Joomla. The main things to look out for:</p>
  
  <ul>
  <li>Install PHP dependencies with composer (i.e. <code>composer install</code>)</li>
  <li>Install JS/CSS dependencies with bower (i.e. <code>bower install</code>)</li>
  </ul></li>
  <li><p>If you want to install the <code>master</code> branch on Joomla -- without digging into the build system -- consider grabbing an autobuild file from <a href="https://download.civicrm.org/latest" rel="nofollow noreferrer">https://download.civicrm.org/latest</a></p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-03T05:17:35.540Z
Answers.LastActivityDate: 2018-04-03T05:17:35.540Z
Answers.UserDisplayName: Tim Otten
Body: <p>I switched a development environment running under Joomla and IIS to the CiviCRM:master branch.  It now fails with</p>
  
  <p>0 Class 'GuzzleHttp\Psr7\Uri' not found </p>
  
  <p>Is this a Linux-specific class?  If not, where do you find it?  CiviCRM 4.7.x did not need it.</p>
  
Tags: <mailing><core>
Title: What is the GuzzleHttp\Psr7\Uri class, and is its absence in Windows the death knell to CiviCRM under IIS?
ThreadText: # What is the GuzzleHttp\Psr7\Uri class, and is its absence in Windows the death knell to CiviCRM under IIS?
  
  (Asked by: username_0 on 2018-04-02)
  
  I switched a development environment running under Joomla and IIS to the CiviCRM:master branch. It now fails with
  
  0 Class 'GuzzleHttp\Psr7\Uri' not found
  
  Is this a Linux-specific class? If not, where do you find it? CiviCRM 4.7.x did not need it.
  
  **Tags:** mailing, core
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2018-04-02. Score: 1
  
  .
  
  1. cd to PHP install directory.
  2. composer require GuzzleHttp/psr7
  3. Add this to CiviCRM.settings.php: require\_once $\_SERVER["PHPRC"]. '/vendor/autoload.php';
  
  
  ---
  
  ### Answer by username_1 on 2018-04-03. Score: 1
  
  @stehpen what you could also do there is cd to the civicrm dir and run `composer install` That will ensure that everything the .lock file requires is installed and it will also update the composer autoloader for civicrm.
  
  
  ---
  
  ### Answer by username_2 on 2018-04-03. Score: 0
  
  1. Guzzle is a client library for making HTTP requests. As with many PHP libraries required by Civi, it's declared in `composer.json`.
  2. When setting up an installation via `git`, one's process must install all current dependencies. Whenever I change to a different version, I usually do this with `./bin/setup.sh -D` (or something even higher level, like `./bin/setup.sh` or `civibuild reinstall`), but I don't know if those work under Joomla. The main things to look out for:
  
     * Install PHP dependencies with composer (i.e. `composer install`)
     * Install JS/CSS dependencies with bower (i.e. `bower install`)
  3. If you want to install the `master` branch on Joomla -- without digging into the build system -- consider grabbing an autobuild file from <https://download.civicrm.org/latest>
  
  
  ---
  
  