Forums / Install & configuration / PHP 4.4.4 and MIME encoding

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

eZ debug

Timing: Jan 30 2025 22:24:06
Script start
Timing: Jan 30 2025 22:24:06
Module start 'content'
Timing: Jan 30 2025 22:24:06
Module end 'content'
Timing: Jan 30 2025 22:24:07
Script end

Main resources:

Total runtime0.3794 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0127 589.1875370.2891
Module start 'content' 0.01270.0181 959.47661,005.4531
Module end 'content' 0.03090.3485 1,964.92973,895.4688
Script end 0.3794  5,860.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00501.3204200.0003
Check MTime0.00150.3924200.0001
Mysql Total
Database connection0.00160.413510.0016
Mysqli_queries0.270271.21861410.0019
Looping result0.00170.43551390.0000
Template Total0.348191.710.3481
Template load0.00100.254310.0010
Template processing0.347191.474710.3471
Override
Cache load0.00060.157810.0006
Sytem overhead
Fetch class attribute can translate value0.00200.535310.0020
XML
Image XML parsing0.00040.112810.0004
General
dbfile0.00761.9975200.0004
String conversion0.00000.001830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs