Have you tried using the value in MB ?
php_value memory_limit 2048M
Also try editing this value in php.ini
not Apache.
More Related Contents:
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php [duplicate]
- Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)
- Allowed memory size of X bytes exhausted
- PHP: settings memory_limits > 1024M does not work
- Upper memory limit for PHP/Apache
- Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes)
- PHP upload size and its impact on post size and memory limit
- xss attack on a php page
- Creating sign-in with my site functionality
- Is there a function to extract a ‘column’ from an array in PHP?
- Allow php sessions to carry over to subdomains
- What does the variable $this mean in PHP?
- How to POST JSON Data With PHP cURL?
- How to implement authorization using a Telegram API?
- Search with comma-separated value mysql
- Remove multiple whitespaces
- Sort PHP multi-dimensional array based on value in inner array? [duplicate]
- How to do left join in Doctrine?
- PHP Regular expression to match keyword outside HTML tag
- file_get_contents behind a proxy?
- How do I install the ext-curl extension with PHP 7?
- PHP Mail, CC Field
- Is it possible to create static classes in PHP (like in C#)?
- Get current domain
- PHP Warning: exec() unable to fork
- Find JSON strings in a string
- How to solve Error 404 when deploying laravel project to Cpanel?
- Apple Sign In “invalid_client”, signing JWT for authentication using PHP and openSSL
- Format 32-character string with hyphens to become UUID
- Check if all values in array are the same