Closed michael-cannon closed 10 years ago
Can confirm this is happening where default PHP version on shared hosting is 5.2 but is configured in .htaccess to serve 5.4.
Added some debugging into includes/libraries/aihrus-framework after line 107 to send an email to me with the PHP version if it is less than 5.3 and I have had some emails and the version reported is 5.2! Any idea why Apache would do this? I have commented out the deactivation temporarily.
Have run a script that tests PHP version several times per second and run it overnight. It consistently reports 5.4 and does not ever report 5.2. Could it be possible that something in the framework or Wordpress is causing the server to load PHP 5.2 somehow? A standalone PHP script doesn't seem to be affected on the same site while this plugin is.
No idea really, the requirements checking runs every load. In hindsight, it only needs to run on activation or update. I'll modify code to such a case.
Duplicate of #45. Resolving there instead.
Common thread is
.htaccess
enabled PHP5.3+. Seems Apache doesn't always deliver such.Seems that we should only check system requirements on activation.