Page 1 of 1

stream_set_timeout() not found

Posted: Thu Feb 14, 2008 1:01 pm
by crmurr
I am trying to setup SwiftMail 3.3.2 and am running PHP 4.2.2.

When I process a script that uses SwiftMail I get a fatal error:
Fatal error: Call to undefined function: stream_set_timeout() in c:\SwiftMailer\lib\Swift\Connection\SMTP.php on line 260

I am not finding stream_set_timeout() anywhere in the PHP libraries.

Am I missing a part of PHP?

Thanks for your help.

crmurr

Re: stream_set_timeout() not found

Posted: Thu Feb 14, 2008 1:45 pm
by Zoxive
http://php.net/stream_set_timeout
(PHP 4 >= 4.3.0, PHP 5)

Re: stream_set_timeout() not found

Posted: Thu Feb 14, 2008 3:07 pm
by crmurr
Thank you for the response.

Can you point me to resources that would help me upgrade to PHP5? I used FoxServ to setup Apache, MySQL and PHP. I need some help with upgrading PHP in that environment.

Thanks for any help you can provide.

crmurr