HCnix throwing exception while create new domain.

Question: HCnix throwing exception while create new domain.


Answer:

This problem may occur in Centos 5.x version, in order to fix this issue PHP version needs to be updated to 5.2.


    How to upgrade PHP 5.1.6 with PHP 5.2 on Linux?

Go to location /etc/yum.repos.d
Create a file here with name CentOS-Testing.repo


    Copy below content in file CentOS-Testing.repo and save file.

# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to  CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*


    Now Execute command:

    yum update php


    Once it is successfully updated, then restart apache using command:

    /etc/init.d/httpd restart or /etc/init.d/apache2 restart


For more details visit
http://wiki.centos.org/HowTos/PHP_5.1_To_5.2

Note:

After following the above instruction if we access HC panel it will ask to load  ioncube_loader_lin_5.2.so.
To resolve this issue open php.ini (/etc) and at the bottom change line

zend_extension =/usr/local/hostingcontroller/hcweb/bin/ioncube_loader_lin_5.1.so
to
zend_extension =/usr/local/hostingcontroller/hcweb/bin/ioncube_loader_lin_5.2.so

Save the file and restart Apache.

Now you can access the panel URL without any error. For any further query you can contact the support department http://portal.hostingcontroller.com 

 


Add Feedback