following commands to switch the php handler on the cpanel serevrs:
Quote:
1. Command to display the current php handler installed and all the avaliable php handlers in the server:-
------
[root@me ~]# /usr/local/cpanel/bin/rebuild_phpconf --current
------
2. Command to display the available php handler installed and all the avaliable php handlers in the server:-
------
[root@me ~]# /usr/local/cpanel/bin/rebuild_phpconf --available
------
3. Command to change the default PHP handler to dso:-
------
[root@me ~]# /usr/local/cpanel/bin/rebuild_phpconf 4 dso none 1
------
4. Command to change the default PHP handler to suphp:-
------
[root@me ~]# /usr/local/cpanel/bin/rebuild_phpconf 5 none suphp 1
------
5. Command to change the default PHP handler to cgi:-
------
root@me ~]# /usr/local/cpanel/bin/rebuild_phpconf 5 none cgi 1
------
|
|