Hi,
My cPanel license is expired and don't want to renew as my work is completed. The problem now I am facing is that is there any way to know the current PHP handler on the server by command line?
Command to find current PHP handler on the cpanel server
Fully Managed Backup Services @ Affordable prices
Re: Command to find current PHP handler on the cpanel server
Hi,
You can execute below command from command line to find current PHP handler on the cpanel server
usr/local/cpanel/bin/rebuild_phpconf --current
You can execute below command from command line to find current PHP handler on the cpanel server
usr/local/cpanel/bin/rebuild_phpconf --current
Re: Command to find current PHP handler on the cpanel server
Hi Stark,
I tried the same, but shows No such file or directory
root@king [~]# usr/local/cpanel/bin/rebuild_phpconf --current
-bash: usr/local/cpanel/bin/rebuild_phpconf: No such file or directory
I tried the same, but shows No such file or directory
root@king [~]# usr/local/cpanel/bin/rebuild_phpconf --current
-bash: usr/local/cpanel/bin/rebuild_phpconf: No such file or directory
Re: Command to find current PHP handler on the cpanel server
Hi Chris.
Use these command, you missed / when you tried the command.
/usr/local/cpanel/bin/rebuild_phpconf --current
root@server [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
RUID2: not installed
Brandon N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree
Use these command, you missed / when you tried the command.
/usr/local/cpanel/bin/rebuild_phpconf --current
root@server [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
RUID2: not installed
Brandon N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree