Website Building » WooCommerce » What PHP Version Does WooCommerce Use?

What PHP Version Does WooCommerce Use?

Last updated on October 1, 2022 @ 2:07 pm

WooCommerce is a popular ecommerce platform that is built on WordPress. It is estimated that WooCommerce powers over 28% of all online stores.

One of the things that makes WooCommerce so popular is that it can be used with a variety of different programming languages, including PHP. In fact, WooCommerce is written in PHP.

So, what PHP version does WooCommerce use?

WooCommerce 3.x, the latest version of WooCommerce, requires PHP 5.6.20 or higher. However, we recommend using PHP 7 or greater for optimal performance.

PRO TIP: The WooCommerce plugin for WordPress uses PHP version 5.2.4 or higher. If you are running an older version of PHP on your server, you will need to upgrade before you can install and use WooCommerce.

If you’re not sure what version of PHP your site is running, you can check by creating a simple PHP file with the following code:

Save this file as info.php and upload it to your website. Then, visit http://yourdomain.com/info.php in your browser. This will display your server’s PHP information, including the version number.

So there you have it! That’s everything you need to know about the PHP version used by WooCommerce.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.