php-install Digest 27 Oct 2002 05:45:31 -0000 Issue 1089

Topics (messages 8927 through 8928):

Re: PHP + GD Install?
        8927 by: Michael Risda

undefined function: mime_content_type() ??
        8928 by: Bob Bruce

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Excellent.  Been looking through google all night trying to find this work
around.
Thank you so much for your assistance!

Michael
-internetdj.com

"John Coder" <[EMAIL PROTECTED]> wrote in message
news:1035643608.1731.4.camel@;bulwinkl...
> I had the same prob regarding gd with gd ext on php 4.3. It seems that
> it still looks for the libgd.a and libgd.so so I did a configure on
> gd.2.0.1 as per Rasmus page on GD see attachment . once I put the new
> libgd.so and libgd.a in the ext/gd directory in the php install
> directory I had no probs Hope this helps
>
> .
>
> John Coder
>
> On Sat, 2002-10-26 at 10:17, Michael Risda wrote:
> > My apologies, I should have mentioned that I did try explicitly pointing
the
> > config to my install which is /usr/local
> >
> > I have php installed currently with gettext, but I am recompiling to
include
> > lib-gd and here the problem occurs.  If I remove the
> > --with-gd, it compiles fine, if I remove the --with-gettext it compiles
> > fine.
> >
> > Michael
> >
> >
> >
> > "John Coder" <[EMAIL PROTECTED]> wrote in message
> > news:1035609694.2491.6.camel@;bulwinkl...
> > > On Fri, 2002-10-25 at 22:13, Michael Risda wrote:
> > > > I too am having problems with this.  Here is my config line:
> > > >
> > > >
> >
./configure --with-gd --with-dom --with-apxs --with-gettext --with-xml --wit
> > > >
> >
h-mysql --with-mcrypt --with-imap --with-ldap --with-zlib-dir --with-jpeg-di
> > > > r
> > > >
> > > > Last lines:
> > > >
> > > > checking for GNU gettext support... yes
> > > > checking for bindtextdomain in -lintl... no
> > > > checking for bindtextdomain in -lc... no
> > > > configure: error: Unable to find required gettext library
> > > >
> > > check out
> > > http://www.php.net/manual/en/ref.gettext.php
> > > it says yu need the directory also as in --with-gettext=DIR if you
don't
> > > have it in /usr/local
> > >
> > > John Coder
> > >
> > >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>


--- End Message ---
--- Begin Message ---
Hi:

when I try implementing a tutorial program for learning how to store images
in a database and try to call the function mime_content_type I get the
following error message:

Fatal error: Call to undefined function: mime_content_type() in G:\Program
Files\Apache Group\Apache2\htdocs\BruceGang\insert.php on line 80

when I checked the PHP documentation I read that this function is only
available in the PHP 4 CVS. Being new to PHP, I don't know what this means.

I also read that "The behaviour of these functions is affected by settings
in php.ini"
Can someone help me to get this function working?

Ref: http://www.php.net/manual/en/ref.mime-magic.php

thanks,
            Bob Bruce
            Winnipeg, Manitoba



--- End Message ---

Reply via email to