# Stage Switcher 2.0.0 installation failed

**URL:** https://discourse.roots.io/t/stage-switcher-2-0-0-installation-failed/5920
**Category:** plugins
**Created:** 2016-02-12T17:14:32Z
**Posts:** 5

## Post 1 by @richardwilis — 2016-02-12T17:14:32Z

When I try to install wp-stage-switcher via Composer, I receive this error:

```
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - jeremykendall/php-domain-parser 1.3.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - roots/wp-stage-switcher 2.0.0 requires jwage/purl ^0.0.6 -> satisfiable by jwage/purl[v0.0.6].
    - jwage/purl v0.0.6 requires jeremykendall/php-domain-parser 1.3.1 -> satisfiable by jeremykendall/php-domain-parser[1.3.1].
    - Installation request for roots/wp-stage-switcher 2.0.0 -> satisfiable by roots/wp-stage-switcher[2.0.0].
```

The installation instructions makes no mention of these. Should I install them separately and if so how?

---

## Post 2 by @Foxaii — 2016-02-12T17:41:23Z

I would imagine you don’t have `ext-curl` enabled for the PHP cli you’re installing from.  
What OS are you using?

---

## Post 3 by @richardwilis — 2016-02-12T18:00:18Z

Ubuntu 14.04.3, Composer was installed following the Bedrock docs.

---

## Post 4 by @Foxaii — 2016-02-12T18:05:01Z

Composer doesn’t change the packages/extensions that PHP uses so you’ll need to do that manually.

Try:  
`sudo apt-get install php-curl` for PHP 7  
or:  
`sudo apt-get install php5-curl` for PHP5

---

## Post 5 by @richardwilis — 2016-02-13T10:47:18Z

Thanks, that solved it.
