1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Where to set PHP_FCGI_MAX_REQUESTS?

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Thomas Becker, Jan 15, 2012.

  1. Thomas Becker

    Thomas Becker Basic Pleskian

    22
     
    Joined:
    Sep 11, 2009
    Messages:
    81
    Likes Received:
    0
    Hello,
    please give me an idea where to set PHP_FCGI_MAX_REQUESTS using fcgi on Plesk 10 and CentOS 6 with PHP 5.3.3.
    Which config file is a good choice for this variable?

    Thanks.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Look at following config file:

     
  3. Thomas Becker

    Thomas Becker Basic Pleskian

    22
     
    Joined:
    Sep 11, 2009
    Messages:
    81
    Likes Received:
    0
    Thanks, Igor.

    But this does set the variable for the Plesk Panel, right?

    I want to set it for all virtual hosts on the system.
    Where to set it?


    When I add the line
    to /etc/httpd/conf.d/fcgid.conf and then doing a php info, after restarting apache, the variable PHP_FCGI_MAX_REQUESTS is not listed under "Environment". So I'm not sure if that is the right way to set it for the vhosts.
     
    Last edited: Jan 16, 2012
  4. Zanami.RU

    Zanami.RU New Pleskian

    16
    35%
    Joined:
    Mar 18, 2011
    Messages:
    12
    Likes Received:
    0
    So, was there any answer to that? fcgi wrapper is a binary file, where do I put that MAX_REQUESTS?
     
  5. FiWiApps

    FiWiApps New Pleskian

    6
     
    Joined:
    Jul 22, 2013
    Messages:
    1
    Likes Received:
    0
    I would also like to know this.
     
Loading...