Forums / Install & configuration / PHP 4.4.4 and MIME encoding

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential?

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