Last active
August 29, 2015 14:08
-
-
Save alirezas/b8005667f798057fea9d to your computer and use it in GitHub Desktop.
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
// get the path of php.ini in command line | |
php --ini | |
// get the current memory limit | |
php -r "echo ini_get('memory_limit').PHP_EOL;" | |
// Temporary change memory limit for composer | |
php -d memory_limit = 1024M composer.phar | |
// Get the current permission of file | |
stat -c "%a %n" FILENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment