I used rackspace cloud to create a fresh new server with CentOS,
Login as root and used the following command
Configure the network and host
Open /etc/sysconfig/network and put HOSTNAME= your FQDN host name
[root@localhost ~]# nano /etc/sysconfig/network
Update your host go to /etc/hosts
[root@localhost ~]# nano /etc/hosts
Change file to
127.0.0.1 localhost localhost.localdomain
126.96.36.199 host.domain.com host
Now set hostname from command line
[root@localhost ~]# hostname host.domain.com
restart the network services
[root@localhost ~]# /etc/init.d/network restart
Update your server
[root@localhost ~]# yum update
[root@localhost ~]# yum install perl
Download WHM/cPanel installation files
[root@localhost ~]# wget http://layer1.cpanel.net/latest
Start cPanel installation, installation will take several hours so leave your ssh for several hours and check that your net connection is not down until installed it.
Note: when you install cPanel your ip must be authorized by cPanel, or you can registered for trial version, you can verify your ip address from http://www.cpanel.net/apps/verify/index.cgi
[root@localhost ~]# sh latest
You might me see the following message after finished the intall
cPanel Layer 2 Install Complete
Before going to web, you might get some firewall issue, so sometime you need to disable it, you maybe need to disable iptables use the following command
[root@localhost ~]# /etc/init.d/iptables stop
Web access: now you can access your cpanel from http://YOUR_IP:2026, or https://YOUR_IP:2087 and use user as root and your server root password. [YOUR_IP might me your ip or your domain address]
After login you need to give basic setup information of cPanel like network interfaces, nameserver configuration, FTP/Mail etc.
Now our target is to enable PHP DSO and add more features like GD, TTF, MbSring, IonCube etc.
You can see in software section of left navigation “Easy Apache (Apache Update)” click on it
Step 1 Profile : check previous profile and click on the Next
Step 2 Apache Version: select your required apache version and click on Next
Step 3 PHP Major Version: select your required major php version.
Step 4 PHP Minor Version: select your required minor php version.
Step 5 Short Options List: click on Exhaustive Options List and check all your require php settings
Now save your profile and build.
Build will take 40 min appropriately, wait for it. after finished the build You’ll have a popup confirmation box and you need to select DSO from dropdown. and save the configuration.
Now You have php with DSO.
I worked on it and its working with me very well. 🙂