cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Settings not correct

PHP Settings not correct

Hi 

 

I start new with Magento ver. 2.3.6-p1

 

Now I have an Issu

If I want to install a new Plugin I get this:

 

PHP Settings Check *

Your current PHP memory limit is 512M. Magento 2 requires it to be set to 756M or more. As a user with root privileges, edit your php.ini file to increase memory_limit. (The command php --ini tells you where it is located.) After that, restart your web server and try again.

 

But I use this PHP.ini config

 

session.auto_start = off
suhosin.session.cryptua = off
zend.ze1_compatibility_mode = Off
always_populate_raw_post_data = -1
apc.shm_size=1024M
apc.num_files_hint=10000
apc.user_entries_hint=10000
apc.max_file_size=5M
apc.stat=0
apc.optimization=0
apc.include_once_override=1
apc.ttl=48000
apc.user_ttl=48000
memory_limit = 4G
max_execution_time = 1800
zlib.output_compression = On

 

I found a solution to bypass this but why I have this bug.

Have anyone an Idea?

 

 

 

 

 

 

2 REPLIES 2

Re: PHP Settings not correct

Hello @rfacchinet62ec ,

 

It's not actually a bug, This is already added into magento setup documentation to change php memory limit (Screenshot below):

https://www.awesomescreenshot.com/image/8645855?key=1b2bf0780e2fdfd194d64652fb71676d

 

https://devdocs.magento.com/guides/v2.3/install-gde/prereq/php-settings.html

 

Let us know if you're still struggling with this issue.

 

Thanks

 

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: PHP Settings not correct

Hi @rfacchinet62ec,

 

Configurations with a high number of store-views, products, attributes, or options can generate forms that exceed the preset PHP limit. If the number of values sent surpasses the limit set within php.ini, the remaining data cannot be transferred and those database values do not get updated. When this occurs, a warning appears in the PHP log.

 

Hope this can help you! Let me know if you need further assistance.

__________

If issue solved, Click Kudos & Accept as Solution.

LitExtension - #1 Shopping Cart Migration Expert

LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.

Visit website: http://litextension.com/