Skip to main content

Skip WHM Setup PHP memory_limit check?

Comments

2 comments

  • cPanelMichael
    Hello, This only runs at install time, so you could use the following WHM API 1 function post installation to configure the memory_limit to your own preferred value: WHM API 1 Functions - php_ini_set_directives - Software Development Kit - cPanel Documentation Here's an example of the commands you could use (for each PHP version that's installed): whmapi1 php_ini_set_directives directive-1=memory_limit%3A128M version=ea-php56 whmapi1 php_ini_set_directives directive-1=memory_limit%3A128M version=ea-php70 whmapi1 php_ini_set_directives directive-1=memory_limit%3A128M version=ea-php71
    Thank you.
    0
  • Dev@SH
    Thanks for the info.
    0

Please sign in to leave a comment.