Guest User

Untitled

a guest
Mar 22nd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. for i in $(find /etc -name "php.ini"); do sed -i 's/upload_max_filesize/;upload_max_filesize/g' $i && sed -i 's/post_max_size/;post_max_size/g' $i && sed -i 's/memory_limit/;memory_limit/g' $i && sed -i 's/max_execution_time/;max_execution_time/g' $i && sed -i 's/max_input_vars/;max_input_vars/g' $i && sed -i 's/max_input_time/;max_input_time/g' $i && echo "upload_max_filesize = 200M" >> $i && echo "post_max_size = 200M" >> $i && echo "memory_limit = 300M" >> $i && echo "max_execution_time = 300" >> $i && echo "max_input_vars = 3000" >> $i && echo "max_input_time = 300" >> $i ; done
Add Comment
Please, Sign In to add comment