Reply to Re: Cannot find MySQL header files under

Your name:

Reply:


Posted by fjm67 on 01/07/07 10:33

Hi JO,

Thanks for the reply. I am still in the dark but I can see the light. I
just cam to that very same conclusion after pondering the same error
message.

I am using freebsd 6.1 as the server. I don'tknow where to get these
header fils from aparently as php states, they no longer bundle it into
the source.

Can you tell me where to get them from?

So if I am understanding this correctly, on my apache machine, I have
to place these header files in a directory and then I can include that
path in the configure command. Is this correct?

Frank


J.O. Aho wrote:
> fjm67 wrote:
> > Can someone please help me out here.
> >
> > I have mysql set up on one box and Apache/PHP on another. When I try
> > and compilr PHP 5.0.4 I get the following compile error:
> > Cannot find MySQL header files under "yes"
> >
> > I am compiling PHP with --enable-mysql --enable-apxs=/path/to/apxs
> >
> > As far as enabling the mysql directory how to I rectify this as mysql
> > resides on a different box.
>
> You are lacking the header files, as you don't say what OS you are using on
> the machine you try to compile the php, I assume you are using the OS that you
> have on the machine from where you post this, installing mysql on microsoft
> don't provide you any header file, you need to download the mysql source and
> take the header files from there and put those in the location where you have
> header files on you install.
>
>
> > 1. how do I tell PHP to look on the other box for the header files?
>
> You can't tell to look at another machine for headers, you need those on the
> local machine (you can of course use a network file system like nfs to mount a
> remote location as a local directory).
>
>
> > 2. is there something else that I need to do to configure in PHP or
> > even mysql to get them to work together?
>
> Apache headers and deeding what features you want to include you may need
> headers for the following:
>
> bzip cdb libmcrypt curl libs/jpeg libpng zlib fdftk gd gdbm gmp libiconv
> imap-c-client krb5 openldap libedit openssl mhash ming freetds recode readline
> net-snmp libxml2 aspell sqlite htmltidy freetype sendmail and so on...
>
>
> --
>
> //Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация