Last active
October 2, 2017 15:20
-
-
Save carasmo/31ef62a59652ff4d239b18344ec9414a to your computer and use it in GitHub Desktop.
Check version of php. Stick in the root of your site where your WordPress resides. Then check it by visiting this page in your browser: yourdomain.com/what-is-php-version.php
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 | |
// prints e.g. 'Current PHP version: 4.1.1' | |
echo 'Current PHP version: ' . phpversion(); | |
// prints e.g. '2.0' or nothing if the extension isn't enabled | |
echo phpversion('tidy'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment