RE: [PHP] IMAP extension causing delays

2006-10-25 Thread Edward Kay
-Original Message- From: Edward Kay [mailto:[EMAIL PROTECTED] Sent: 19 October 2006 14:53 To: php-general@lists.php.net Subject: [PHP] IMAP extension causing delays Hello, I need PHP's IMAP extension for my web app but it is really slowing my server up. My setup: Fedora Core 5,

Re: [PHP] IMAP extension causing delays

2006-10-23 Thread Richard Lynch
You may also want to read PHP IMAP source and see what it does in its initializiation function. That may reduce the category of DNS Error to something a lot more specific... http://lxr.php.net/ On Thu, October 19, 2006 8:52 am, Edward Kay wrote: Hello, I need PHP's IMAP extension for my

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread Jochem Maas
Edward Kay wrote: Hello, I need PHP's IMAP extension for my web app but it is really slowing my server up. My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP), PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a call to phpinfo().

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread John Nichel
Edward Kay wrote: Hello, I need PHP's IMAP extension for my web app but it is really slowing my server up. My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP), PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a call to phpinfo(). Without the

RE: [PHP] IMAP extension causing delays

2006-10-19 Thread Edward Kay
From this, it is clear to me there is some major delay being introduced by the loading of the IMAP extension. Any ideas on how to resolve this? use php as an apache module - thereby the startup delay is only noticed when the webserver starts - this assumes that the problem is a startup

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread John Nichel
Edward Kay wrote: From this, it is clear to me there is some major delay being introduced by the loading of the IMAP extension. Any ideas on how to resolve this? use php as an apache module - thereby the startup delay is only noticed when the webserver starts - this assumes that the problem

RE: [PHP] IMAP extension causing delays

2006-10-19 Thread Edward Kay
Thanks for your suggestions John. At the moment, I do need to run it as a CGI as I need different php.ini files for each virtual host. I think there may well be some issues with DNS, as suggested by Jochem. My configuration of DNS stuff locally is a bit patchy :) I'll investigate this avenue