Support » Plugin: Social Slider Widget » this plugin sucks , change php value max execution time

  • Fabri


    this plugin sucks,
    Why do you change the value of the php variable “max_execution_time”?

    Where have you learned to program?

    It affects the operation of the rest of the plugins, the configuration of the hosting, and the whole wordpress

    this plugin should be banned

    if (! ini_get (‘max_execution_time’) || ini_get (‘max_execution_time’) <300) {

    ini_set (‘max_execution_time’, 300);

    $ disabled = explode (‘,’, ini_get (‘disable_functions’));
    if (! in_array (‘set_time_limit’, $ disabled)) {
    set_time_limit (300);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you have your own plugin you wanna promote ? The plugin is free and clearly does not suck. max_execution_time is not a crime.

    max_execution_time integer
    This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30. When running PHP from the command line the default setting is 0.

    The maximum execution time is not affected by system calls, stream operations etc. Please see the set_time_limit() function for more details.

    You can not change this setting with ini_set() when running in safe mode. The only workaround is to turn off safe mode or by changing the time limit in the php.ini.

    Your web server can have other timeout configurations that may also interrupt PHP execution. Apache has a Timeout directive and IIS has a CGI timeout function. Both default to 300 seconds. See your web server documentation for specific details.



    Changing a value of the php configuration is a crime, because that value should not be touched by a plugin. Not only does it put the security of the page at risk, but it also affects other plugins, that value change is always executed, in the admin, on the web, in cli mode, you have not even had the decency to put it on a hook optional.

    this plugins sucks and the worst thing is that you are bad programmers, accept the error when they tell you and solve it would have been normal,

    not only do not solve it, you also justify it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘this plugin sucks , change php value max execution time’ is closed to new replies.