• Resolved moi027

    (@moi027)


    hello,
    I have php 5.6 installed and activated but the plugin ask me to install php 5.3 or higher, for it to work.
    What’s wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter moi027

    (@moi027)

    My wordpress version is 4.7.2

    Plugin Author Delite Studio

    (@delitestudio)

    Hello,

    we use this PHP code:

    const MIN_PHP_REQUIRED = '5.3.0';
    
    if (version_compare(PHP_VERSION, self::MIN_PHP_REQUIRED, '<')) {
      // Show user to upgrade their PHP version
    }

    you can find more info here on the official documentation of PHP.

    As it’s a standard PHP function we can exclude it’s a bug, maybe there’s something wrong on your server configuration.

    Try this plugin to display the PHP version.

    Thread Starter moi027

    (@moi027)

    Hello,

    My version was 5.2.17, I changed const MIN_PHP_REQUIRED = ‘5.3.0’; to const MIN_PHP_REQUIRED = ‘5.2.17’;.

    And now, all is working fine.

    Thanks

    Plugin Author Delite Studio

    (@delitestudio)

    As written in the documentation, Push Notifications for WordPress requires at least PHP 5.3. If you use it with older versions, it does not work properly. Changing the check unfortunately is not a solution. We therefore recommend you to upgrade the PHP version you are using. Hope it helps!

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

The topic ‘Issue with Php version’ is closed to new replies.