• 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

Add custom text under order details on WooCommerce My account view order pages

Hide specific products from unlogged users based in product category in WooCommerce

Parameter is not sent to Laravel route in Ajax

google content api for shopping

Lexik JWT authentication problem "Invalid credentials"

How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"?

PHP Discord OAUTH2 code sample not working

PHP function Not Working As Expected From functions.php Include File

Transpose multidimensional array and join values with commas

Sentry + Laravel: how to log an already catched Exception?

PHP Find Array Index value in multi-line array

Check if user online laravel

Laravel Command Schedule Not Working Properly

Auto increment id JSON

Custom add to cart button URL for specific product in WooCommerce?

About Contact Privacy policy Terms and conditions