stream_set_timeout() not found

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
crmurr
Forum Newbie
Posts: 2
Joined: Thu Feb 14, 2008 12:52 pm

stream_set_timeout() not found

Post 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
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: stream_set_timeout() not found

Post by Zoxive »

http://php.net/stream_set_timeout
(PHP 4 >= 4.3.0, PHP 5)
crmurr
Forum Newbie
Posts: 2
Joined: Thu Feb 14, 2008 12:52 pm

Re: stream_set_timeout() not found

Post 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
Post Reply