# phastpress/1.96/low-php-version.php

PhastPress, version 1.96. 20 lines.

- Page: https://pluginprobe.com/plugins/phastpress/1.96/code/low-php-version.php
- Raw: https://pluginprobe.com/plugins/phastpress/1.96/raw/low-php-version.php
- Modified: 2020-10-05T10:48:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/phastpress/1.96/code/low-php-version.php#L10-L20`.

```php
<?php

if (!defined('PHASTPRESS_VERSION')) {
    exit;
}

add_action('admin_notices', 'phastpress_php_version_notice');

function phastpress_php_version_notice() {
    ?>
    <div class="error notice">
        <p>
            <b>Sorry, PhastPress won't work here.</b>
            Like WordPress, PhastPress requires at least PHP version 5.6.20.
            Get in touch with your hosting provider for an upgrade.
        </p>
    </div>
    <?php
}

```
