The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. zeki

    zeki Member

    Joined:
    Jun 19, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page