cPremote version 6.6 is available now – Compatible with cPanel 11.36

An updated version of cpremote ,  6.6 is available now  for download. This  version is fully compatible with  cPanel version 11.36
Change Log:

  •     Removed the use of /var/cpanel/3rdparty/bin/php
  •     Added new  CPPHP support

It will be automatically upgraded to the  new version. If you like to upgrade it manually, then simply run the cpremote installer in your server.

cPremote version 6.5 and cPanel 11.36 Current version – Tips for makecpphp

“makecpphp not available in WHM/CPanel 11.36”

As from the cPanel team the makecpphp support was dropped from the version  11.36 version of cPanel.  So the /var/cpanel/3rdparty/bin/php will no longer be available in cpanel. But for cpremote version upto 6.5 it need this php for its working .

The simple fix for it is to make a softlink as follows,

# ln -sf /usr/local/cpanel/3rdparty/php/53/bin/php  /var/cpanel/3rdparty/bin/php

Please note this fix only required upto version 6.5 of cPremote . All other higher version will have this fix by default.

How to convert directadmin to SUPHP the easy method version 2

Conversion to SUPHP in directadmin is easy. You may please proceed with the following steps

1) Set the following custom build options

/build set php5_cgi yes
./build set php5_cli no

2)Now compile apache and php using the following commands

./build all d
./build rewrite_confs

3) Now need to fix the roundcube , squirrelmail and phpmyadmin permissions as follows,

./build roundcube
./build squirrelmail
./build phpmyadmin

4) Now need to fix the ownership and permission of files and dirs as follows,

# for i in `/bin/ls /usr/local/directadmin/data/users/` ; do chown -R $i.$i /home/$i/domains/* ; echo $i ;done 
# for i in `/bin/ls /usr/local/directadmin/data/users/` ; do find /home/$i/domains/ -type f -exec chmod 644 {} \; ; echo $i ;done
# for i in `/bin/ls /usr/local/directadmin/data/users/` ; do find /home/$i/domains/ -type d -exec chmod 755 {} \; ; echo $i ;done

This easy steps will help you to conversion your directadmin to suphp and fix the permission issues in your scripts.

Install Mhash in php 5.3+ in cPanel Centos Linux servers

The php-mhash installation in php 5.3 is very easy. Please use the following steps to install it

1) Download the latest mhash from   http://mhash.sourceforge.net/ and install it as follows,

# tar -xzf  mhash-
# ./configure --prefix=/opt/mhash
#  make
#  make install

2) Now add it to the loader configuration in /etc/ld.so.conf.d/mhash.conf


3) Now edit the file /var/cpanel/easy/apache/rawopts/all_php5 and add the following line


4) Finally compile the php using the following command

#  /scripts/easyapache --build

You can test the mhash by creating a phpinfo page in your website document root.