[PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
Hi all, I'm sure that this is down to me not reading/following/understanding the instructions. I'm trying to add the expect extensions into php. I've run: pear install expect-beta and this reports success and a pear list shows the package installed. However when I try to use the function

Re: [PHP] Expect extensions

2005-11-02 Thread Jochem Maas
Matthew Robinson wrote: Hi all, I'm sure that this is down to me not reading/following/understanding the instructions. I'm trying to add the expect extensions into php. I've run: pear install expect-beta I couldn't find an 'Expect' packAge on pear.php.net. what is it? and this reports

Re: [PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
Hi, It's a couple of functions that wrap around the unix expect program. http://uk.php.net/manual/en/ref.expect.php I've re-read the instructions and found that I hadn't added it to the php.ini which I have now done but I get this error now: php: relocation error:

Re: [PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
Ok, I've 'fixed' this. The OnUpdateLong isn't on my version of php so I've replaced it in the php_expect.c in the expect-1.0 tarball with OnUpdateReal, compiled, installed and it seems to work. Cheers Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: