# Infusionsoft SDK not compatible with PHP 7.2

**URL:** <https://integration.keap.com/t/infusionsoft-sdk-not-compatible-with-php-7-2/68122>\
**Category:** API Q&A\
**Created:** [May 7, 2019, 10:38am UTC](https://integration.keap.com/t/infusionsoft-sdk-not-compatible-with-php-7-2/68122 "2019-05-07T10:38:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Jesus1](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@Manuel\_Jesus1](https://integration.keap.com/u/Manuel_Jesus1)\
**Post date:** [May 7, 2019, 10:38am UTC](https://integration.keap.com/t/infusionsoft-sdk-not-compatible-with-php-7-2/68122/1 "2019-05-07T10:38:33Z")

</div>

Hello,  
Does anyone have an idea about how to migrate infusionsoft SDK with compatible PHP 7.2?

When we are trying to upgrade PHP version 7.2 into our site we got the errors like as below

## FILE: /dom19880/wp-content/plugins/customization-over-theme/src/xmlrpc-3.0/demo/client/mail.php

## FOUND 13 ERRORS AFFECTING 11 LINES

## 3 | ERROR | Global variable ‘$HTTP\_GET\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_GET instead 3 | ERROR | Global variable ‘$HTTP\_GET\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_GET instead 20 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 21 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 23 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 23 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 24 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 30 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 31 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 32 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 33 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 34 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 35 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead

## FILE: /dom19880/wp-content/plugins/customization-over-theme/src/xmlrpc-3.0/demo/client/client.php

## FOUND 5 ERRORS AFFECTING 4 LINES

## 11 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 13 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 16 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 16 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead 18 | ERROR | Global variable ‘$HTTP\_POST\_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $\_POST instead

Please let me know if anyone has a solution  
Thank You

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [May 8, 2019, 12:36am UTC](https://integration.keap.com/t/infusionsoft-sdk-not-compatible-with-php-7-2/68122/2 "2019-05-08T00:36:43Z")

</div>

You might try going into the file and global replace http\_post\_vars with \_post or use an earlier version of the api support files that don’t use that compatability hack

---

<div class="post-metadata">

**Author:** ![Jacky\_Wong](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jacky\_Wong](https://integration.keap.com/u/Jacky_Wong)\
**Post date:** [May 8, 2019, 3:36pm UTC](https://integration.keap.com/t/infusionsoft-sdk-not-compatible-with-php-7-2/68122/3 "2019-05-08T15:36:24Z")

</div>

I’m currently using PHP 7.2 and haven’t had any issues with their current PHP SDK release. I don’t recognize those files.
