PHP 4.4.4 and MIME encoding

Author Message

PO Michel

Wednesday 04 October 2006 1:38:31 am

Hello all,

We have recently installed php-4.4.4 on our RedHat ES 4.0 server running Apache 2.0.52.

We used to have php-4.3.9 (RPM) and we have upgraded to php-4.4.4 to fit eZ requirements.

We now have the following problem : attachments sent via a form on our web site are not received anymore in the e-mail created by this web form.

We have used the following compiling options :

./configure --build=i386-redhat-linux --host=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd=shared --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses=shared --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-xml --with-expat-dir=/usr --with-dom=shared,/usr --with-xmlrpc=shared --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mbstr-enc-trans --enable-mbregex --with-mime-magic=/usr/share/file/magic.mime --with-apxs2 --with-pear --with-config-file=/etc --with-mysql --enable-mbstring

I guess we have a problem with MIME enconding. Could you please help ?

Thanks,

PO

PO Michel

Wednesday 04 October 2006 2:19:39 am

Here are the failed test when I compile php 4.4.4 :

Bug #35239 (Objects can lose references) [tests/lang/bug35239.phpt]
Bug #32773 binary GMP functions returns unexpected value, when second parameter is int(0) [ext/gmp/tests/bug32773.phpt]
Bug #16069 [ext/iconv/tests/bug16069.phpt]
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
Bug #25694 (round() and number_format() inconsistency) [ext/standard/tests/math/bug25694.phpt]

icon should be concerned with MIME encoding ?

PO

Karl Latiss

Wednesday 04 October 2006 4:46:33 am

What version of eZ publish?

Recent 3.8.x versions have a problem with sending mail via SMTP

See http://ez.no/community/bugs/ezmail_sender_causes_warnings

Atvert Systems
http://www.atvert.com.au

PO Michel

Wednesday 04 October 2006 4:53:04 am

Sorry

Version 3.7.4

We use a SMTP server with authentication to send e-mail from eZ.

Do you know which PHP function is used by eZ to send mail ?

Thanks,

PO

Karl Latiss

Wednesday 04 October 2006 6:07:04 am

according to lib/ezutils/classes/ezsmtp.php they use fsockopen

Atvert Systems
http://www.atvert.com.au

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:21:34
Script start
Timing: Jan 18 2025 16:21:34
Module start 'layout'
Timing: Jan 18 2025 16:21:34
Module start 'content'
Timing: Jan 18 2025 16:21:34
Module end 'content'
Timing: Jan 18 2025 16:21:34
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.1484152.6406
Module start 'layout' 0.00670.0030 741.789139.4766
Module start 'content' 0.00970.0039 781.265693.2422
Module end 'content' 0.01360.0016 874.507834.3047
Script end 0.0152  908.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.9257140.0002
Check MTime0.00117.0331140.0001
Mysql Total
Database connection0.00095.633610.0009
Mysqli_queries0.004026.045630.0013
Looping result0.00000.098610.0000
Template Total0.00138.610.0013
Template load0.00074.700710.0007
Template processing0.00063.860110.0006
Override
Cache load0.00053.229310.0005
General
dbfile0.00021.471480.0000
String conversion0.00000.051740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs