HEX
Server: Apache
System: Linux 4801f1b1.ptr.provps.com 6.17.8-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 13 18:02:25 EST 2025 x86_64
User: nassaugo (1004)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nassaugo/www/wp-content/plugins/wp-all-import-pro/classes/installer.php
<?php

class PMXI_Installer
{
    const MIN_PHP_VERSION = "7.2.5";

    const WRONG_PHP_VERSION_MESSAGE = "WP All Import requires PHP %1s or greater, you are using PHP %2s. Please contact your host and tell them to update your server to at least PHP %1s.";

    public function checkActivationConditions()
    {
        if (version_compare(phpversion(), self::MIN_PHP_VERSION  , "<")) {
            $this->error(sprintf(
                self::WRONG_PHP_VERSION_MESSAGE,
                self::MIN_PHP_VERSION,
                phpversion(),
                self::MIN_PHP_VERSION
            ));
        }
    }

    private function error($message){

        $message = __($message);
        $error = <<<EOT
<style type="text/css">
    body, html {
        margin: 0;
        padding: 0;
    }
</style>
<div class="error">
    <p style="padding-left:2px; font-size:13px; color: #444; font-family: 'Open Sans',sans-serif; -webkit-font-smoothing: subpixel-antialiased;">
        $message
    </p>
</div>
EOT;
        echo $error;
        die;
    }
}