Re: Re: Can't set expect.timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-03-03 at 14:49 -0500, Clement Yui-Wah Lee wrote:
> Dear friends,
> 
> I am still hoping to get an answer to this question (see 
> below).  Kindly please see if you can run the test on your site.
> 
> Any insight is very much welcome!
> 
> Clement
> 
> Clement Yui-Wah Lee wrote:
> > Hi,
> > 
> > Apparently I can't set the value for expect.timeout to any values other 
> > than 0 (the default is 10).  Can someone try the following script and 
> > see if you see the same problem as me?  My php is 5.1.6, php-expect is 
> > 0.2.4, the platform is a Redhat Enterprise Linux 5.3
> > 
> > Test method:
> > 
> > 1. Drop the following script onto your php server machine (use a 
> > different ini_set() line in each successive test).
> > 
> > 2. Use a browser to execute the script and see what phpinfo() would 
> > return the value for expect.timeout (and expect.logfile)
> > 
> > 
> > <?php
> >     // ini_set("expect.timeout", "0"); // This worked
> >     // ini_set("expect.timeout", 0); // This worked

Are you sure this isn't just the default value before you attempted an
ini_set()? It may be that expect.timeout is not accessible at runtime.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux