• 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

Google Calendar API batch request PHP

Sort multidimensional array by column value within a column

Select option menu read from database and use it's values

Add record for each array elements if missing in table

Error when uploading certain .png files "Interlace handling should be turned on when using png_read_image"

Project structure for PHP

MySQL upgrade causing unexpected results on simple WHERE clauses

PHP Slim Framework request using withAttribute error

Doctrine ORM: Excluding Records Based on Values of Nested Relationships

Star rating with half star support

how to validate form data in codeigniter 4

PHP my timezone is no setting up in PHP.ini File in xampp

Statement that checks whether a URL contains a particular path?

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables 11 [closed]

Transform array, set each array element with parent key php

About Contact Privacy policy Terms and conditions