From owner-freebsd-questions Sun Oct 3 23:49:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from deepblue.big-blue.net (deepblue.big-blue.net [208.237.121.168]) by hub.freebsd.org (Postfix) with ESMTP id 9970915366 for ; Sun, 3 Oct 1999 23:49:30 -0700 (PDT) (envelope-from alex@big-blue.net) Received: from big-blue.net (localhost.big-blue.net [127.0.0.1]) by deepblue.big-blue.net (8.9.3/8.9.3) with ESMTP id XAA00855; Sun, 3 Oct 1999 23:45:56 -0400 (EDT) (envelope-from alex@big-blue.net) Message-ID: <37F822F4.75CBAB02@big-blue.net> Date: Sun, 03 Oct 1999 23:45:56 -0400 From: Alex V P X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: chris@tourneyland.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem installing PHP + MySQL References: <3.0.6.32.19991003215643.008e4e10@mail.9netave.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chris@tourneyland.com wrote: > I'm trying to get PHP and MySQL working with Apache 1.3.9. I've been trying > to follow a HotWired tutorial mentioned on the PHP home page, as well as > info from the php and mysql sites themselves. So far, I have php working > just fine, except that it doesn't recognize MySQL. I checked this out by > making a little web page that calls phpinfo(), and the response page > doesn't say anything about MySQL under Extensions (which I read it should > if it recognizes MySQL). > > I've tried to install PHP a number of ways. First, I downloaded the tarball > and followed the configure program, using the the --with-mysql= option to > specify my MySQL directory. That didn't work. After that I reinstalled > FreeBSD for another reason, and I tried again. This time I picked PHP and > MySQL from the 'ports to install' menu, so they got installed along with > the OS. That didn't work either. After that, I tried to find PHP on my > disk, but I couldn't find anything (including mod_php3.c) anyhere. I was > confused. So I grabbed PHP again form www.php.net, and tried again. This > time I used the setup script instead of configure, but that didn't work. So > I tried configure again with the --with-mysql option, and that isn't > working. In fact, I'm getting 'unable to find mysql.h' errors, even though > I'm using the right directory (and several variations). > > So what's my damn problem? And what can I do to fix it? The machine isn't > currently a production server, so it doesn't really matter what it takes, > as long as I can get things working. > > Thanks! > Chris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message same happend here. I solve the problem reinstaling mysql apache and php from source. first mysql then php apache procedure. i tryed couple of times installing it from ports and never worked for me alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message