Author Topic: How to Set default Apache PHP Handler to cgi  (Read 11903 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
How to Set default Apache PHP Handler to cgi
« on: December 11, 2015, 10:45:52 PM »
hi,

im using all server one php configuration.
need all accounts run php cgi mode.
need this :
# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: cgi
SUEXEC: not installed
RUID2: not installed

is possible ? change easy likely cpanel php handler ?
How can I change the easy way.
im change setting and not found a solution..

allways retun 500 error or Not Found

The requested URL /test.php was not found on this server. :)



Offline
*****
Re: How to Set default Apache PHP Handler to cgi
« Reply #1 on: December 15, 2015, 07:50:21 AM »
Hello.

This is the CentOS Web Panel forum, not a CPanel.
The CWP are using PHP as CGI (suPhp).
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to Set default Apache PHP Handler to cgi
« Reply #2 on: December 15, 2015, 10:15:37 AM »
hi Igor,

Yes I know! I just asked a simple way to say Have to change. I wrote cPanel as an example.

Unfortunately I could not find a solution. I went to the DSO mode.

Thank you for the answer. Best regards.

Offline
*****
Re: How to Set default Apache PHP Handler to cgi
« Reply #3 on: December 18, 2015, 08:39:31 AM »
hi Igor,

Yes I know! I just asked a simple way to say Have to change. I wrote cPanel as an example.

Unfortunately I could not find a solution. I went to the DSO mode.

Thank you for the answer. Best regards.

Hi.
If you want to use DSO, you can check this solution .
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services