From:             [EMAIL PROTECTED]
Operating system: Linux/Unix Redhat
PHP version:      4.1.2
PHP Bug Type:     Mail related
Bug description:  Difference in mail() function in PHP 4.1.2, causes delay in sending 
mail.

There appears to be a difference between the way mail() works between 4.1.0
and 4.1.2.  This can cause scripts which worked perfectly in PHP 4.1.0 to
take as much as a minute to excecute in PHP 4.1.2.

I upgraded using a pkg file from pkgmaster.com for a Cobalt RAQ4 server,
and I have spoken to another PHP user using Redhat 7 who has experienced
the same issue.

Basically PHP mail() functions were taking as long as a minute to
excecute, when prior to the upgrade they took seconds.

We found that while we had no problems with PHP 4.1.0, we had to add all
our IP's into the /etc/hosts file to cure the problem experienced with
4.1.2.

Config is:

System Linux rev66.cobalt 2.2.16C28_III #1 Mon Jul 30 22:07:58 PDT 2001
i586 unknown

Build Date Feb 27 2002

Configure Command  './configure' '--prefix=/usr'
'--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr'
'--enable-safe-mode' '--with-config-file-path=/etc/httpd'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes'
'--with-regex=system' '--with-ttf' '--with-db' '--with-gdbm'
'--with-mbstring' '--with-mbstr-enc-trans' '--enable-track-vars'
'--enable-wddx=shared' '--enable-mm=shared' '--enable-xml'
'--disable-debug' '--with-libdir=/usr/lib' '--with-db3'
'--with-interbase=shared' '--with-pgsql=shared' '-- 

Although we have solved this issue by adding the IP's to the /etc/hosts
file, it may be worth documenting this somewhere for others reference, it
took a great deal of hair-pulling to get it solved!
-- 
Edit bug report at http://bugs.php.net/?id=15998&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15998&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15998&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15998&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15998&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15998&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15998&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15998&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15998&r=submittedtwice

Reply via email to