• 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

How to display MySQL table using php and edit it in a web browser

Add Metadata, headers (Expires, CacheControl) to a file uploaded to Amazon S3 using the Laravel 5.0 Storage facade

Fatal error: Uncaught mysqli_sql_exception: Unknown database 'test' in ... (How do I fix that? Using PHP)

run a query using EXECUTE BLOCK to prepair a column for an unique-Index

Message: Set sys_temp_dir in your php.ini after installed composer

Losing session data after POST from third party website

How to properly start Laravel 8 with Bootstrap & authentication

Form repeater send wrong data with last element in Laravel

PHPExcel How to set conditional formatting to change cell background color based on cells values

PHP array, move keys and values to new array, but mix it up

How to to send mail using gmail in Laravel?

php curl requesting twice

Override default Auth routes in Laravel 7

Store / Website Column in Magento 2 Admin Grid - Custom Module

Convert date and time to Jalali in Laravel

About Contact Privacy policy Terms and conditions