I'm trying to install Magento on my VPS (WHM/cPanel) but I get the following error. I've checked the memory and increased it to 512M but still no luck.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 248 bytes) in /home/exampleuser/public_html/vendor/magento/module-sales-rule/Model/ResourceModel/Report/Rule/Updatedat.php on line 36
Things I've tried:
- Developer Mode
- Check .htaccess file
- Changed the php.ini in the root to have more memory
- Changed php.ini of the server also ..
I've never had issues with memory before, the Magento system requirements are met.
php -d memory_limit=-1 bin/magento [command]