Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to cloudlinux php_selector fcgid tuning location and check

Discussion in 'CloudLinux' started by zeki, Jan 23, 2015.

  1. zeki

    zeki Member

    Joined:
    Jun 19, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    Hi I want to tune fcgid like so in this article Perfecting FastCGI settings for Shared Hosting
    where do i modify this?
    I found this file: /usr/local/apache/conf/includes/pre_virtualhost_global.conf
    I'm running cagefs, php_selector will modifying it here work?
    Also how can I tell if the settings are working?

    Taka
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, it's acceptable to add those entries into the /usr/local/apache/conf/includes/pre_virtualhost_global.conf and then rebuild the Apache configuration file via:

    Code:
    /scripts/rebuildhttpdconf
    You will see an error message when rebuilding the Apache configuration file if there is a problem with the settings.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zeki

    zeki Member

    Joined:
    Jun 19, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    thanks.
    Code:
    root@cpanel2 [~]# /scripts/rebuildhttpdconf
    info [rebuildhttpdconf] Missing owner for domain cpanel2, force lookup to root
    Built /usr/local/apache/conf/httpd.conf OK
    Is there any commands or something to check the fcgi settings are in place like phpinfo?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You typically simply review the /usr/local/apache/conf/includes/pre_virtualhost_global.conf file, as that's where the configuration data is stored. It's not the same thing as a PHP information file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice