Add permanent lines to /usr/local/apache/conf/php.conf
I need add to /usr/local/apache/conf/php.conf
But I like permanent change, not deleted by cpanel upgrade. How I can do it?
Action php5-fastcgi /cgi-bin/php.fcgi
AddType application/x-httpd-php .phpBut I like permanent change, not deleted by cpanel upgrade. How I can do it?
-
Hello, Could you verify which version of EasyApache you are using on this server? Thanks! 0 -
Easyapache 3 0 -
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. 0 -
It's the same that use file on ? 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
Thanks0 -
Hello, Yes, those are the configuration files used by "WHM Home >> Service Configuration >> Apache Configuration >> Include Editor". Thank you. 0
Please sign in to leave a comment.
Comments
5 comments