|
Posted by J.O. Aho on 01/07/07 09:08
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
Navigation:
[Reply to this message]
|