Last active
August 29, 2015 14:07
-
-
Save javiersantos/575929cc9985d0195fc0 to your computer and use it in GitHub Desktop.
Check if a specific PHP module is installed
This file contains 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 | |
/* | |
* Check if APC Module is installed | |
* By Javier Santos | |
* https://gist.github.com/javiersantos/575929cc9985d0195fc0 | |
*/ | |
if (extension_loaded('apc')) { | |
echo "true"; | |
} else { | |
echo "false"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment