• 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

Return multiple values from a function using mysqli_fetch_assoc [closed]

Losing session data after POST from third party website

phpunit - testing is painfully slow

Post Form Data To phpmyadmin Database

How to auto populate preferredCountries from intl-tel-input with db output

Laravel 5: Is there a non-case sensitive way to sort a collection by an attribute?

PHP mail sending empty mails

GuzzleHttp Hangs When Using Localhost

I want to display a sweetalert after the inserting of data in my database

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

Split comma separated value from table column into rows using mysql?

How to validate Envato Purchase Code in PHP

Yii2 select2 database exception number of bound variables does not match number of tokens

Render the content of default_filter.php in Joomla front-end

How to map the two arrays with a duplicate value?

About Contact Privacy policy Terms and conditions