[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing PHP4



On Thu, Sep 18, 2003 at 09:51:21AM -0500, Dennis Wicks wrote:

> I keep getting the error
> 
>     configure: error: Cannot find MySQL header files under /<whatever>
> 
> when I run configure for php 4.3.3.
> 
> What file(s) is configure looking for? I have tried pointing --with-mysql=
> at every place I can find some mysql stuff and nothing seems to work.
> 
> Are they perhaps not installed in the vanilla debian distribution and I
> need to install another package?

First of all, if you want to install php4, I strongly recommend that you
intsall it from a Debian package (either source or binary), and not by
compiling by hand.

Second, no, the mysql development package is not installed by default on
every Debian system (why would it be?).  The package you want is
libmysqlclient10-dev, but you'll find that php4 requires a lot of other
packages in order to build everything (which is taken care of for you if you
build from a package).

-- 
 - mdz



Reply to: