User Tools

Site Tools


php_ini

This is an old revision of the document!


IMPORTANT

Before making ANY changes, remember to back up the php.ini file:

cp /etc/php.ini{,.back.$(date +"%Y-%m-%d")}

upload_max_filesize is the maximum size of an uploaded file

upload_max_filesize = 2M
This value also effects file upload. To upload files this value must be 15% larger than the upload_max_filesize.
post_max_size = 8M

Reload Configuration

Once you have made changes to the file you will need to reload apache for them to take effect:



https://www.devside.net/wamp-server/apache-and-php-limits-and-timeouts

php.ini

Php.ini file can be found:

vim /etc/php.ini
memory_limit is the maximum amount of memory in bytes that a script is allowed to allocate.
memory_limit = 128M


php_ini.1450091011.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki