# PHP Installation ERROR: Mautic requires PHP version 5.6.19 while your server has 5.6.6.

**URL:** <https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002>\
**Category:** Product Support\
**Created:** [December 30, 2016, 10:07pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002 "2016-12-30T22:07:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leopold](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leopold/32/150_2.png) [@leopold](https://forum.mautic.org/u/leopold)\
**Post date:** [December 30, 2016, 10:07pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/1 "2016-12-30T22:07:52Z")

</div>

Hi, I just recently heard about a Mautic and think it’s incredible. However, I’m getting this error message when I try to access the subdomain that points to Mautic: “Your server does not meet the minimum PHP requirements. Mautic requires PHP version 5.6.19 while your server has 5.6.6. Please contact your host to update your PHP installation”.  
  
  
  
I can’t understand why it would prevent the installation when my PHP version is higher than the minimum PHP requirements.  
  
  
  
Please, I would appreciate any assistance I can get to help resolve this issue.  
  
  
  
Thanks for the Help!  
  
Kerwin.

---

<div class="post-metadata">

**Author:** ![leopold](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leopold/32/150_2.png) [@leopold](https://forum.mautic.org/u/leopold)\
**Post date:** [December 30, 2016, 10:07pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/2 "2016-12-30T22:07:52Z")

</div>

Hi, I just recently heard about a Mautic and think it’s incredible. However, I’m getting this error message when I try to access the subdomain that points to Mautic: “Your server does not meet the minimum PHP requirements. Mautic requires PHP version 5.6.19 while your server has 5.6.6. Please contact your host to update your PHP installation”.

I can’t understand why it would prevent the installation when my PHP version is higher than the minimum PHP requirements.

Please, I would appreciate any assistance I can get to help resolve this issue.

Thanks for the Help!  
Kerwin.

---

<div class="post-metadata">

**Author:** ![denispavliha](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@denispavliha](https://forum.mautic.org/u/denispavliha)\
**Post date:** [December 31, 2016, 8:48am UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/3 "2016-12-31T08:48:12Z")

</div>

Also, make sure that the php symlink points to the proper PHP version.

Please, see [https://www.mautic.org/community/index.php/6389-php-error/p1#p17970](https://www.mautic.org/community/index.php/6389-php-error/p1#p17970)

Best,  
D.

---

<div class="post-metadata">

**Author:** ![tripp](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@tripp](https://forum.mautic.org/u/tripp)\
**Post date:** [January 17, 2017, 9:01pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/4 "2017-01-17T21:01:23Z")

</div>

> [@18297:@MxyzptlkFishStix](#):
>
> 5.6.19 is higher than 5.6.6. There are two types of PHP executables. The command line version and the web server module/cgi version. Make sure both versions are equal to or higher than 5.6.19.

I am having a similar issue on Ubuntu/Mautic/Nginx. I upgraded Mautic, then started getting the error: “Mautic requires PHP version 5.6.19 while your server has 5.5.9-1ubuntu4.20”. I updated PHP, and now when I run php -v, I get

`
PHP 5.6.29-1+deb.sury.org~trusty+1 (cli)`

When I make sure the links are right, here’s what I get:

`$ ls -l /usr/bin/php
lrwxrwxrwx 1 root root 21 Jan 17 19:46 /usr/bin/php -> /etc/alternatives/php
$ ls -l /etc/alternatives/php
lrwxrwxrwx 1 root root 15 Jan 17 20:43 /etc/alternatives/php -> /usr/bin/php5.6`

Restarted php5-fpm and nginx. Still getting the error, though, saying my php version is 5.5.9-1ubuntu4.20.

Any ideas would be appreciated.

---

<div class="post-metadata">

**Author:** ![tripp](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@tripp](https://forum.mautic.org/u/tripp)\
**Post date:** [January 17, 2017, 9:43pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/5 "2017-01-17T21:43:29Z")

</div>

So when I check the php-cgi version, I get this

`php-cgi --version
PHP 5.5.9-1ubuntu4.20 (cgi-fcgi) (built: Oct 3 2016 13:02:14)`

I am assuming this is the issue. However I don’t get why it’s not being updated when I run ‘apt-get upgrade’

Probably no longer a mautic forum question, however if anyone knows what I’m doing wrong I’d appreciate it.

---

<div class="post-metadata">

**Author:** ![denispavliha](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@denispavliha](https://forum.mautic.org/u/denispavliha)\
**Post date:** [January 20, 2017, 12:27pm UTC](https://forum.mautic.org/t/php-installation-error-mautic-requires-php-version-5-6-19-while-your-server-has-5-6-6/7002/6 "2017-01-20T12:27:15Z")

</div>

Yeah, you should configure the CGI interface (this is where Apache and PHP communicate) and set a proper PHP version there.

Try see this - [https://cweiske.de/tagebuch/Running%20Apache%20with%20a%20dozen%20PHP%20versions.htm](https://cweiske.de/tagebuch/Running%20Apache%20with%20a%20dozen%20PHP%20versions.htm)

Best,  
D.
