Who to Update memory_limit Magento 2.4.2


Can you guys please help me?

I updated M2.4.1 to M2.4.2. All good no issues but during the upgrade, my memory limit was decreased.

In M4.2.1 it was easy to do it editing the .htaccess file Paragraph 8.2.

Now when I run
nano .htaccess
I get the below:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/pub/
RewriteCond %{REQUEST_URI} !^/setup/
RewriteCond %{REQUEST_URI} !^/update/
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule .* /pub/$0 [L]

Thank you in advance.

.htaccess has moved to pub!


nano /var/www/html/pub/.htaccess


Hi Stephen,

Excellent! Thank you for taking the time and replying.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.