[Help] how to get suexec configration file ?

gnutoolbox

Member
Sep 25, 2011
23
0
51
cPanel Access Level
Root Administrator
You could add the entries to /usr/local/apache/conf/php.conf file, which contains the other FCGI directives. If you edit this file, you'll have to ensure the file is not replaced during EasyApache update. You could use a script at /scripts/posteasyapache to simply replace any copy cPanel adds with your own version.

Please note that any time you run either /usr/local/cpanel/bin/rebuild_phpconf or WHM > Apache Configuration > PHP and SuExec Configuration area, you'll be replacing php.conf file with the cPanel version
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
For adding entries for FCGI, you'd be better off adding them to /usr/local/apache/conf/includes/post_virtualhost_global.conf file for adding those entries instead of directly editing php.conf file as was suggested.

After you have added any entries for FCGI into post_virtualhost_global.conf, simply restart Apache for the new settings to take effect.