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

PhastPress, version 1.78. 16 lines.

- Page: https://pluginprobe.com/plugins/phastpress/1.78/code/low-php-version.php
- Raw: https://pluginprobe.com/plugins/phastpress/1.78/raw/low-php-version.php
- Modified: 2019-10-19T21:24:32+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.78/code/low-php-version.php#L10-L20`.

```php
<?php

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
}

```
