# Cakephp + wamp (php5.6.x)+ visual studio 2015 issue

**URL:** <https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266>\
**Category:** Need Help\
**Created:** [May 6, 2016, 9:51pm UTC](https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266 "2016-05-06T21:51:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfarza](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sfarza](https://discourse.cakephp.org/u/sfarza)\
**Post date:** [May 6, 2016, 9:51pm UTC](https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266/1 "2016-05-06T21:51:41Z")

</div>

Hello I’m trying to setup cakephp within visual studio with phptools for VS and i’ve got php 5.6 that came with wamp. But when i build the project, VS use php 5 that comes with the IIS installer, any idea on how to solve this?  
here is the error message :

```
Fatal error occurred
Message: You PHP version must be equal or higher than 5.5.9 to use CakePHP.

```

thanks

---

<div class="post-metadata">

**Author:** ![reuben.helms](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/reuben.helms/32/172_2.png) [@reuben.helms](https://discourse.cakephp.org/u/reuben.helms)\
**Post date:** [May 7, 2016, 2:37pm UTC](https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266/2 "2016-05-07T14:37:43Z")

</div>

Though I do development in PHP and C#, I’ve never tried to used VS for PHP development.

As a suggestion, try using the Web Platform installer to install a version of PHP that is supported by CakePHP. The same version was the wamp set up, preferably.

---

<div class="post-metadata">

**Author:** ![sfarza](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sfarza](https://discourse.cakephp.org/u/sfarza)\
**Post date:** [May 7, 2016, 6:01pm UTC](https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266/3 "2016-05-07T18:01:32Z")

</div>

there version of php that I’ve found with ms service was 5.4 and not any higher version… do you have any suggestion?

---

<div class="post-metadata">

**Author:** ![reuben.helms](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/reuben.helms/32/172_2.png) [@reuben.helms](https://discourse.cakephp.org/u/reuben.helms)\
**Post date:** [May 9, 2016, 1:07am UTC](https://discourse.cakephp.org/t/cakephp-wamp-php5-6-x-visual-studio-2015-issue/266/4 "2016-05-09T01:07:44Z")

</div>

Via the Web Platform Installer available from my local IIS instance, I can see several versions of PHP available.

- PHP 5.3.28
- PHP 5.4.45
- PHP 5.5.34
- PHP 5.6.20
- PHP 5.6.20 for IIS Express
- PHP 7.0.6 (x64)
- PHP 7.0.6 (x86)
- PHP 7.0.6 (x64) for IIS Express
- PHP 7.0.6 (x86) for IIS Express

If you search for PHP in the Products section, you’ll even see an installer for CakePHP (from 22/05/2014)!

You can grab the Web Platform Install from here [[http://www.iis.net/learn/install/web-platform-installer](http://www.iis.net/learn/install/web-platform-installer)]
