Re: mime with php4.4.4 does not work anymore

From: Date: Sat, 30 Dec 2006 21:36:22 +0000
Subject: Re: mime with php4.4.4 does not work anymore
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246297@lists.php.net to get a copy of this message
Roger Thomas wrote: > I have been serving my community with Invision Power Board (IPB) v1.3.1 Final. Things are > working well with PHP 4.3.8 and Apache 1.3.29. > > Yesterday I just upgraded to PHP4.4.4 and I have problems with Excel and Word attachments with > IPB. Whenever I click on those attachments, I will get all sorts of funny characters all over my > browser screen. However, image attachments are correctly displayed inline. > > I added --with-mime-magic=/usr/local/apache/conf/magic to configure but nothing change. If I > were to roll back to PHP 4.3.8, IPB works perfectly. > > What have I missed. Please advise. TIA. I don't think anybody here can answer that without knowing how IPB serves up those attachments. Do they even go through PHP? If not, then it becomes a web server configuration issue. If they do go through PHP, what PHP functionality is IPB using? Perhaps they are using the deprecated mime_magic stuff? They should be using pecl/fileinfo functions if they need that stuff, but I think you will have to ask them. -Rasmus

« previous php.general (#246297) next »