Closed benjamin-luescher closed 7 years ago
PHP TypeError is thrown when config value with 'M' or 'G' suffix in php.ini is bigger than PHP_INT_MAX. (E.g. _memorylimit = 2048M)
php.ini
PHP_INT_MAX
Return value of craft\helpers\App::phpConfigValueInBytes() must be of the type integer, float returned
Following steps are describing the problem for my environment:
memory_limit
Full Stacktrace: TypeError - http___craft3.local_admin_login.pdf
Thanks!
Description
PHP TypeError is thrown when config value with 'M' or 'G' suffix in
php.ini
is bigger thanPHP_INT_MAX
. (E.g. _memorylimit = 2048M)Steps to reproduce
Following steps are describing the problem for my environment:
memory_limit
to 2048MAdditional info
Full Stacktrace: TypeError - http___craft3.local_admin_login.pdf