Edit the php.ini
Use a standard text editor to open
/etc/php/apache2/php.ini
, search for the following variables and change/increase these to (as desired but a general guideline is mentioned):
memory_limit = 512M
upload_max_filesize = 100M
post_max_size = 100M
Some more values to change if you want a better performance of your web server:
max_execution_time = 600
max_input_time = 600
memory_limit = 1024M
Save and close the editor/file and restart the apache web server with:
service apache2 restart
or
systemctl restart apache2
No comments:
Post a Comment