Last active
December 11, 2015 07:49
-
-
Save timani/4569157 to your computer and use it in GitHub Desktop.
memory limit ini_set
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
## debug file test.php | |
<?php | |
echo 'Memory limit before = ' . ini_get('memory_limit') . "<br />"; | |
ini_set('memory_limit', '321M'); | |
echo 'Memory limit after = ' . ini_get('memory_limit'); | |
## Output | |
Memory limit before = 512M | |
Memory limit after = 321M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment