Title: PHP confusion causing problems
Last modified: February 15, 2020

---

# PHP confusion causing problems

 *  Resolved [mdkennedy](https://wordpress.org/support/users/mdkennedy/)
 * (@mdkennedy)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-confusion-causing-problems/)
 * Thanking you in advance for quality support, please read the following and provide
   advice on how I can fix our site.
 * My dashboard is reporting: “WooCommerce Square requires the following PHP extensions
   to function: curl, mbstring. Contact your host or server administrator to install
   and configure the missing extensions.”
 * The WooCommerce/Status page has 2 errors as follows: “Your server does not have
   the SoapClient class enabled – some gateway plugins which use SOAP may not work
   as expected.”
 * AND
 * “Your server does not support the mbstring functions – this is required for better
   character encoding. Some fallbacks will be used instead for it.”
 * At the same time my site is no longer offering my customers any option to enter
   credit card information – I can book NO SALES until this is fixed!
 * I reported this earlier today and a WordPress/WooCommerce support person insisted
   I must contact my hosting provider to fix the issue. So I did. My hosting provider
   replied and confirmed our site has the latest version of PHP, INCLUDING php-cURL
   and php-mbstring and the SOAP client & server all enabled.
 * The link I entered above displays a full phpinfo() and you can clearly see the“
   site” thinks it is using PHP version 7.2 when in reality our server has PHP version
   7.4.2 installed and enabled!
 * A full copy and paste from a terminal of a “php -i” command is below, you can
   clearly see what the operating system sees is VERY different from what WordPress/
   WooCommerce sees!
 * _**[Moderated: Giant paste removed] **_
    -  This topic was modified 6 years, 3 months ago by [t-p](https://wordpress.org/support/users/t-p/).
    -  This topic was modified 6 years, 3 months ago by [t-p](https://wordpress.org/support/users/t-p/).
    -  This topic was modified 6 years, 3 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-confusion-causing-problems%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-confusion-causing-problems/#post-12438857)
 * _**[Moderated: Giant paste removed per [forum guidelines](https://wordpress.org/support/forum-user-guide/faq/#i-need-to-post-code-is-that-okay).
   Please use [Pastebin](https://http://pastebin.com/) and [Gist](https://gist.github.com//)
   and copy your code there. Then return here and paste the link to that here.] **_
    -  This reply was modified 6 years, 3 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 *  Thread Starter [mdkennedy](https://wordpress.org/support/users/mdkennedy/)
 * (@mdkennedy)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-confusion-causing-problems/#post-12438917)
 * Link to terminal “php -i” output showing PHP values in OS:
    [https://pastebin.com/MgDCKhaS](https://pastebin.com/MgDCKhaS)
 * Link to WooCommerce/Status/site report:
    [https://pastebin.com/SNFtvZTH](https://pastebin.com/SNFtvZTH)
 * My apologies for not following the rules.
 *  Thread Starter [mdkennedy](https://wordpress.org/support/users/mdkennedy/)
 * (@mdkennedy)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-confusion-causing-problems/#post-12440961)
 * I fixed the problem, no need to respond.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP confusion causing problems’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [php curl](https://wordpress.org/support/topic-tag/php-curl/)
 * [soap](https://wordpress.org/support/topic-tag/soap/)

 * 3 replies
 * 2 participants
 * Last reply from: [mdkennedy](https://wordpress.org/support/users/mdkennedy/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/php-confusion-causing-problems/#post-12440961)
 * Status: resolved