How to cloudlinux php_selector fcgid tuning location and check

zeki

Member
Jun 19, 2007
12
0
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
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.
 

zeki

Member
Jun 19, 2007
12
0
51
thanks.
Code:
[email protected] [~]# /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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
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.