Re: [PHP] mime with php4.4.4 does not work anymore
- From: rasmus@xxxxxxxxxxx (Rasmus Lerdorf)
- Date: Sat, 30 Dec 2006 16:36:22 -0500
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
.
- References:
- mime with php4.4.4 does not work anymore
- From: Roger Thomas
- mime with php4.4.4 does not work anymore
- Prev by Date: Re: [PHP] php/ajax question
- Next by Date: Re: php/ajax question
- Previous by thread: mime with php4.4.4 does not work anymore
- Next by thread: retrieve top n entries from an associative array
- Index(es):