Last active
November 17, 2017 12:48
-
-
Save dbrosy/a061c32e2beb281176ecc9cff42447a1 to your computer and use it in GitHub Desktop.
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
file_uploads = On | |
memory_limit = 256M | |
upload_max_filesize = 64M | |
post_max_size = 64M | |
max_execution_time = 1800 | |
# Go to the folder | |
cd /usr/local/etc/php/conf.d | |
# Create the file | |
touch uploads.ini | |
# Add the required config stuff into the file | |
echo "file_uploads = On | |
memory_limit = 256M | |
upload_max_filesize = 64M | |
post_max_size = 64M | |
max_execution_time = 1800" > uploads.ini | |
# To check | |
cat uploads.ini | |
# note: will require a reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment