Adding IP addresses through shell if the server has Two Ethernet Cards and not able to do it through WHM

#cd /etc/sysconfig/network-scripts/
#cp ifcfg-eth1 ifcfg-eth1:1
#vi ifcfg-eth1:1
Now, you can add the IP

Change device to DEVICE=eth1 and IP address

ifup ifcfg-eth1:1

Setting up 10_Mbps using mii-tools command

mii-tool -F 10baseT-FD
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ETHTOOL_OPTS=”autoneg off speed 10 duplex full”

If you are not able to add them through WHM, then you need to verify the file /etc/wwwacct.conf and check ETHDEV and mention the ethernet drive. The reason behind mentioning ethernet drive is to set a IP as default for setting up for new accounts.

PHP Manual Installation

PHP can install manually with the help of following steps.

With the help of following steps you can download the Complete Source Code of php and extract it. You can download required/latest Version of PHP here

#cd /usr/local/src
#wget http://in.php.net/get/php-5.2.13.tar.gz/from/this/mirror
#tar xzvf php-5.2.13.tar.gz
#cd php-5.2.13.tar.gz

Now, you can use following steps to configure the php modules and installation.

# ./configure –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/include/mysql –prefix=/usr/local/apache/php –with-config-file-path=/usr/local/apache/php –enable-force-cgi-redirect –disable-cgi –with-zlib –with-gettext –with-gdbm
# make
# make install

At the last, you need to copy the files and restart the apache service on the server.

# cp -p .libs/libphp5.so /usr/local/apache/modules
# cp -p php.ini-recommended /usr/local/apache/php/php.ini
# /etc/init.d/httpd restart

100% Customer Satisfaction