Created
November 1, 2016 19:13
-
-
Save atsea/d99adda5658638f6404d846ee059c19d to your computer and use it in GitHub Desktop.
Check server php version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( version_compare(PHP_VERSION, '5.5', '<') ) { | |
wp_die('PHP 5.5 is required.'); | |
}; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment