WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] seo auto links and related posts plugin resource limit hack (1 post)

  1. Shekhar
    Member
    Posted 2 years ago #

    Hi!
    Add following code on 'seo-al.php'

    @ini_get( 'pcre.backtrack_limit', '1M' );

    on top as:

    error_reporting(0);
    @ini_set('display_errors', 0);
    @ini_get( 'pcre.backtrack_limit', '1M' );
    /**
    * install seo-al plugin
    **/
    register_activation_hook(__file__,'pk_seo_al_admin_activation');
    register_deactivation_hook(__file__,'pk_seo_al_admin_deactivation');

    where 1M limit.. resource usage by this plugin.. try to increase up to 8M depending on hosting package,

    or,
    @ini_set( 'pcre.backtrack_limit', '1M' );

    if you try this code whole website will be limited to '1M' or try 8M as favouable:

    But the problem is when plugin is activated and site cannot access more than that and stops working.

    Working for me,
    Did it work for you?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.