• Resolved tupiniquimhostel

    (@tupiniquimhostel)


    As per the instructions on the plugin page it only works with at least PHP 5.4.

    Checking my PHP version at my website:
    https://tupiniquimhostel.com.br/info.php

    It correctly displays 5.6.27

    But the pluging does not let me activate it:
    “Responsive Menu requires PHP 5.4 or higher to function and has therefore been automatically disabled. You are still on 5.3.29.”

    Clearly the plugin is not recognizing the current PHP version, is there anything I am missing ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Peter Featherstone

    (@peterfeatherstone-1)

    Hey there,

    This is more likely a question for your webhost as my plugin checks the global PHPVERSION constant which must be returning 5.3.29 on this particular site.

    Please let me know what they say.

    Peter

    Thread Starter tupiniquimhostel

    (@tupiniquimhostel)

    Hey Peter,

    Thank you so much for your time and help at this issue.
    Yes, I was talking to my webhost support yesterday for at least an hour and they cannot pin a problem with my current installation.

    Just for the record: I was using PHP 5.3 until yesterday morning. Since your plugin does not work unless it is at least 5.4 I updated the PHP to 5.6.

    Now, i put a short php script on my main directory to check the version, check this link:
    https://tupiniquimhostel.com.br/info.php

    As you can see it states that the current running version is PHP 5.6.27.

    So, I assume that somehow my WordPress installation is not accurately seeing the proper version … is there a way to force it to see it ? or to restart the WordPress PHP version ??
    Meaning: if this was a daemon I would just quit the daemon and initialize it again.

    I wonder if, and when, there is a WordPress update, to say 4.7.3, it will magically acknowledge the correct PHP version.

    I am really interested in your plugin, in the pro version actually, but I need to test it before to see if it fits my needs.

    Any input or ideas that you have will be greatly appreciated it.
    And thanks once again.

    Alex

    Peter Featherstone

    (@peterfeatherstone-1)

    Hey Alex,

    My PHP check is independent upon WordPress so its unlikely anything like that will make a difference.

    For your reference all I do is check the PHP_VERSION global constant:

    https://php.net/manual/en/reserved.constants.php#reserved.constants.core

    Are there any php.ini files or php flags inside your htaccess file in the wordpress installation directory as you could be losding a different PHP version for wordpress.

    Also try created a test.php file inside your wp folder and echo out the constant above and see what it gives you.

    Also have you tried restarting apache and at worst the server itself?

    Please let me know what you find.

    Peter

    Just a 2p-worth from someone who doesn’t know much about php – when I tried to upgrade a few days ago from 5.2 to 5.4, all my WordPress sites crashed. The nice people at my webhosting service pinpointed an old php.ini file as the culprit and changed whatever needed to be changed. I am now running php 7 without problems. Doubtless this is something you’ve checked already, though.

    Peter Featherstone

    (@peterfeatherstone-1)

    Hey there,

    Thanks so much for the input, I love when other people get involved in forum discussions – the true spirit of Open Source ??

    Checking php.ini files is a great idea, as well as any flags in your .htaccess file.

    Thanks again!

    Peter

    Thread Starter tupiniquimhostel

    (@tupiniquimhostel)

    @elvirakate @peterfeatherstone-1: thanks for the input !!

    Actually both of you gave me the key insights to the problem:

    Yes, the problem manifested after a PHP migration.
    Yes, somehow the php.ini could be the problem.

    But the real issue in my case was that the guys at my hosting provider changed the .htaccess file on my public_html directory and left the old one (in the wp directory) unchanged. After correcting the wp one everything worked and the plugin could be activated.

    That is why it appeared correct but not from within WordPress !!
    Another day and another thing I’ve learned …

    Thanks again but your patience.

    Cheers
    Alex

    PS – If you ever want to come to Rio de Janeiro you’re most welcome !!

    Peter Featherstone

    (@peterfeatherstone-1)

    Hey Alex,

    Great news and great that you found the issue, thanks for letting us know!

    Glad it’s all fixed now and I would love to go to Brazil one day!

    Thanks again

    Peter

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 5.6.27 is not recognized’ is closed to new replies.