• 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 do I set the maximum php memory limit

phpmemory


PHP Snippet 1:

ini_set('memory_limit','10240M');

PHP Snippet 2:

 1) open your php.ini file
 2) change memory_limit = 10240M

Related Snippets

Laravel Displaying image from database

Why does array_map() with null as callback create an "array of arrays"?

how to redirect the user back to desired URL after login page in PHP?

Encrypt in php and decrypt in Dart(flutter)

PHP - installing Xdebug on Mac with XAMPP (Unix File)

Laravel multi auth - Authentication user provider [] is not defined

Popup Window and PHP form

Multiply each value in array using array_map function

get attribute from class not working php 7

Distribute array row data to make multiple new rows

PHP Get value from JSON [duplicate]

Combining a describing and one array with data

Display the WooCommerce product price inside a custom function

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

curl returning 301 error after migrating to https

About Contact Privacy policy Terms and conditions