Join the community today
Register Now

Wordpress How to increase php limit using wordpress and centminmod

Discussion in 'Blogs & CMS usage' started by Venucci, Jun 12, 2019.

  1. Venucci

    Venucci Member

    33
    4
    8
    Sep 25, 2018
    Ratings:
    +4
    Local Time:
    2:17 PM
    currentyl
    10
    I am trying to install a heavy plugin and after installing it , it appears the message of technical difficulties in my wordpress admin and page area . So i guess that i exceed my php limit . I have put the
    define('WP_MEMORY_LIMIT', '128M');
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );
    in wp-config.php
    but it does not work . What i should do in order to increase the php limit for my current wordpress site using centminmod 22 . thanks

    my limit is set to 160
    php -i | grep memory_limi

    How could be possible to increase it ? Please give me a step by step guide because i am a noob using centminmod :(
     
    Last edited: Jun 12, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:17 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. Venucci

    Venucci Member

    33
    4
    8
    Sep 25, 2018
    Ratings:
    +4
    Local Time:
    2:17 PM
    currentyl
    10
    Solved thanks
     
    Last edited: Jun 13, 2019
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:17 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    best to start with learning basics of either nano or vim editor both when run against a file that doesn't exist, will create the file when you save and exit the editor

    Easiest way to edit configuration or any files on your server is via logging into your server via ssh and directly editing them using nano or vim linux text editors. For nano which you can read up more about nano here and here. For vim text editor read here and here and thread at WebPerf - Popular Vim Commands – a Comprehensive Vim Cheatsheet

    Also there's numerous online how to use guides for nano and vim you can search for via google :)
     
  5. Venucci

    Venucci Member

    33
    4
    8
    Sep 25, 2018
    Ratings:
    +4
    Local Time:
    2:17 PM
    currentyl
    10
    Solved eva thank you ! Unfortunately , after charging the plugin and activating i have the same message The site is experiencing technical difficulties. Please check your site admin email inbox for instructions. . Where i could find out what could be wrong with such a plugin . I have double checked it and it runs 256 instead of 160. I have another website using this plugin and runs correctly using 256 . I have not received any email in my inbox :(