Installing Expect on WHM/CENTOS

This is an installation procedure that would work on 5.6 PHP. Not sure if it would work on higher PHPs.

Go to SSH/putty or whatever you use and install these dependencies.

  1. Install PHP and its Development Framework
yum install php php-devel php-common

2. Install php-pear (PHP Extension and Application Repository)

  yum install php-pear

 To verify whether pear is installed properly or not, type command pear, there you will get

 list of command like discover-channel, upgrade,upgrade-all,if pear is successfully installed.

3. Install Tool command language (TCL) and TK, required for expect package

0 0 vote
Article Rating

About Maida
She is Zipsite's all around Zipsiter. Only clocks out when she can barely stand. She sings, bakes, and tries so hard to be fit. But don't judge, she can literally strong arm you no problem. She's currently involved with eCorp, Contrib and VNOC, besides being a Brazilian Jiu Jit Su practitioner.

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
%d bloggers like this: