Add permanent lines to /usr/local/apache/conf/php.conf

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Could you verify which version of EasyApache you are using on this server?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
You can add those entries to the "Pre VirtualHost Include" option in "WHM Home >> Service Configuration >> Apache Configuration >> Include Editor" to ensure they are preserved. This is documented at:

Include Editor - Documentation - cPanel Documentation

Thank you.
 

speckados

Well-Known Member
It's the same that use file on ?

Code:
ls -lisah /usr/local/apache/conf/includes/
total 28K
407680 4,0K drwxr-xr-x.  2 root root 4,0K ago 23 12:08 ./
407793 4,0K drwxr-xr-x. 10 root root 4,0K ago 26 05:09 ../
414518 4,0K -rw-------.  1 root root  371 mar  7 21:13 account_suspensions.conf
414382 4,0K -rw-r--r--.  1 root root 1,7K mar 20  2014 errordocument.conf
415867    0 -rw-------.  1 root root    0 mar 20  2014 post_virtualhost_1.conf
415870    0 -rw-------.  1 root root    0 mar 20  2014 post_virtualhost_2.conf
415864    0 -rw-------.  1 root root    0 mar 20  2014 post_virtualhost_global.conf
415865    0 -rw-------.  1 root root    0 mar 20  2014 pre_main_1.conf
415868    0 -rw-------.  1 root root    0 mar 20  2014 pre_main_2.conf
405482    0 -rw-------.  1 root root    0 mar 20  2014 pre_main_global.conf
415866    0 -rw-------.  1 root root    0 mar 20  2014 pre_virtualhost_1.conf
415869    0 -rw-------.  1 root root    0 mar 20  2014 pre_virtualhost_2.conf
415862 4,0K -rw-------.  1 root root   70 ago  2 17:27 pre_virtualhost_global.conf
408776 4,0K -rw-r--r--   1 root root  155 ago 23 12:08 remoteip.conf
412940 4,0K -rw-r--r--.  1 root root  303 abr 18 18:20 rpaf.conf
Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Yes, those are the configuration files used by "WHM Home >> Service Configuration >> Apache Configuration >> Include Editor".

Thank you.