• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to increase the PHP upload limits [duplicate]

phpmysqlwamp


PHP Snippet 1:

memory_limit = 99M
max_execution_time = 300
upload_max_filesize = 20M
post_max_size = 24M

PHP Snippet 2:

upload_max_filesize = 10M
post_max_size = 10M

PHP Snippet 3:

upload_max_filesize = 120M
post_max_size = 120M
max_execution_time = 200
max_input_time = 200

PHP Snippet 4:

ini_set("upload_max_filesize","120M");

PHP Snippet 5:

php_value upload_max_filesize 120M

PHP Snippet 6:

upload_max_filesize = 64M
post_max_size = 64M

Related Snippets

If you intend you use SMTP, add your SMTP Code after this Line

Show Custom Data in Woocommerce Order Details Admin Area

Do I need to install `fxp/composer-asset-plugin` if I'm not doing front-end development

How to submit a form when page loads using JavaScript?

Handle error for duplicate entries - PHP/MySQL

Mysqli Output to a table

Extract string between first whitespace and last whitespace in php

Don't show recurring price for WooCommerce subscriptions worth 0$

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

MySQL - Connection failed: No route to host

Symfony run hint kernel.secret parameter not found

How can I make this nested location configuration use the correct path to call a php program?

How can I create a Download Page with post php method?

Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: ) in Unknown on line 0

Sort a multidimensional array by integer inside of a string value which is two levels down

About Contact Privacy policy Terms and conditions