Wednesday, May 6, 2009

Expect, PHP and Fedora 5

I work with ubuntu before for the expect, Expect, PHP and Ubuntu, but now I have to use it on fedora 5, here is the installation :

install expect and expect-devel

# yum install expect expect-devel

install PECL Expect.

# wget http://pecl.php.net/get/expect-0.2.5.tgz
# pecl install expect-0.2.5.tgz

edit php.ini and put this line :

extension=expect.so

restart httpd and you ready to go.

No comments:

current

last archive