Search
 
SCRIPT & CODE EXAMPLE
 

PHP

check php memory limit

php -i | grep memory_limit
Comment

Increase the PHP memory limit

/*
To increase the PHP memory limit setting, edit your PHP.ini file found under /usr/local/etc/php/7.4/.
Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini.
*/

memory_limit = 256M
Comment

Define memory limit in PHP

define('WP_MEMORY_LIMIT', '128M');
Comment

PREVIOUS NEXT
Code Example
Php :: livewire model array 
Php :: How to make a simple mail system in Laravel without view or notification 
Php :: get HTML select value to PHP 
Php :: guzzlehttp http_errors get 
Php :: php check if item in array 
Php :: laravel How to include model attribute automatically 
Php :: php link 
Php :: php remove html tag wrap 
Php :: laravel 8 search with pagination 
Php :: laravel get last created id 
Php :: laravel guard 
Php :: Fetch pivot data laravel 
Php :: codeigniter 3 session not working after some time 
Php :: many to many relationship laravel 
Php :: submit form and show results on same page without refresh 
Php :: pivot table in laravel 9 
Php :: Using $this when not in object context 
Php :: bool value of blank string inp php 
Php :: laravel get query result as array 
Php :: page.php woocommerce 
Php :: php loop in js 
Php :: Laravel all() and get() 
Php :: how to delete a row in phpmyadmin 
Php :: how to truncate all tables laravel 
Php :: php return multiple variables from function 
Php :: middleware in laravel 
Php :: compress video file size php 
Php :: codeigniter crud generator 
Php :: php ascii to decimal 
Php :: eloquent relationships 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =