This topic contains 2 replies, has 3 voices, and was last updated by Andrey Yatsenko 4 years, 8 months ago.
- Topic
Hi,
just wanted to install OroCRM (again). This time without 512M in php.ini.
I used this cmd:
1$ php -d memory_limit=-1 app/console oro:install --env dev --forceI get this answer:
1| OK | memory_limit should be at least 512M |That’s what i expect though.
But while loading the migrations:
1PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes) in /var/www/XXX/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 587128M memory_limit? Why?
So I testet the -d cmd too:
1234$ php -d memory_limit=512M -i | grep memory_limitmemory_limit => 512M => 512M$ php -d memory_limit=-1 -i | grep memory_limitmemory_limit => -1 => -1I think there is a php script, that sets the memory_limit back to php.ini setting. But I don’t find it. I don’t know where this happens. But it’s bad! I don’t want 512M in php.ini, I just want 128M in php.ini and 512M for installation.
Anybody knows how to solve it?
Best regards
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.