Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 55679 invoked from network); 7 Jul 2005 20:15:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2005 20:15:59 -0000 Received: (qmail 18275 invoked by uid 500); 7 Jul 2005 20:15:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18257 invoked by uid 500); 7 Jul 2005 20:15:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 18244 invoked by uid 99); 7 Jul 2005 20:15:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 13:15:44 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.38.56] (HELO web50302.mail.yahoo.com) (206.190.38.56) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Jul 2005 13:15:42 -0700 Received: (qmail 43776 invoked by uid 60001); 7 Jul 2005 20:15:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qAXVZfMBChmryfn5ARhh9DDOOlsRulTRB+AwELj0CHYFsxVQ84KKjhGcEdbulGh1StbllUczohbYiI2lQ7c/6kV8MT7eep1lCyi2DIrOloMOVDftLdJwRIKUxvZ0RBRGtTnj+CS2kpGasehMKcbzL4ZwCH+6Ecnt48xUgAzbxHE= ; Message-ID: <20050707201540.43774.qmail@web50302.mail.yahoo.com> Received: from [143.232.188.226] by web50302.mail.yahoo.com via HTTP; Thu, 07 Jul 2005 13:15:40 PDT Date: Thu, 7 Jul 2005 13:15:40 -0700 (PDT) From: Joseph Lee To: users@httpd.apache.org In-Reply-To: <20050707195144.36439.qmail@web50302.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] configure PHP on Linux X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think the problem I had was because I installed MySQL-server-5.0.7-0.i386.rpm and MySQL-client-5.0.7-0.i386.rpm, which are binary installations. I'll do source installation MySQL-5.0.7-0.glibc23.src.rpm now to see if it solves the problem. Thanks, Joe --- Joseph Lee wrote: > I installed libxml2-2.6.19, and the problem about > libxml when I configured php is gone. Thanks for > your > help. > > However, when I did > # ./configure --with-mysql > --with-apxs2=/usr/local/apache2/bin/apxs > --with-libxml-dir=~/xml/libxml2-2.6.19 > ...... > checking for MySQL support... yes > checking for specified location of the MySQL UNIX > socket... no > checking for MySQL UNIX socket location... > /var/lib/mysql/mysql.sock > configure: error: Cannot find MySQL header files > under > yes. > Note that the MySQL client library is not bundled > anymore. > > I tried to find mysql*.h, but I could not find it. > Is > there special configuration that I need to do when > installed MySQL in order to use MySQL with PHP? I > could run mysql on my Linux machine. > > I apologize for sending my question to this email > group, but there are many apache experts are > familiar > with PHP and MySQL installations. > > Thanks, > Joe > > --- "Ivan Barrera A." wrote: > > > Aman Raheja wrote: > > > I have noticed this with some other software on > > redhat/fedora linux. > > > try using the exact version and see if that > works. > > You might otherwise > > > want to look into the script itself and do some > > tweaking for it to > > > accept what you are providing. > > > on the other note you are on the wrong mailing > > list - this is not an > > > apache issue. Please try the php users list. > > > Thanks > > > - Aman Raheja > > > http://www.techquotes.com > > > > > > > In fedorish, or redhat systems, you must install > the > > -devel rpm's for > > that lib. In this case libxml2-devel. That package > > includes headers to > > compile software using the lib. > > > > rpmbuild --rebuild just build binary rpm's from a > > source rpm. Does not > > install them. > > > > > > > Joseph Lee wrote: > > > > > >> Hi, > > >> > > >> I have installed Apache and MySQL on my Linux > > machine. > > >> Now I am trying to install PHP5. I did > > >> # configure --with-mysql > > >> --with-apxs2=usr/local/apache2/bin/apxs > > >> --with-libxml-dir=/usr/src/redhat/RPMS/i386 > > >> > > >> but it complained about > > >> > > >> configuring extensions > > >> checking whether to enable LIBXML support... > yes > > >> checking libxml2 install dir... > > >> /usr/src/redhat/RPMS/i386 > > >> configure: error: libxml2 version 2.5.10 or > > greater > > >> required > > >> > > >> So I went to xmlsoft.org and downloaded > > >> libxml2-2.6.11-1.src.rpm > > >> > > >> Then I did > > >> # rpmbuild --rebuild libxml2-2.6.11-1.src.rpm > > >> > > >> but it still gave me "version 2.5.10 or greater > > >> required" error. > > >> Is it because my libxml2 was not updated, even > > after I > > >> did "rpmbuild --rebuild"? > > >> > > >> Thanks, > > >> Joe > > >> > > > > > > > > > > > > --------------------------------------------------------------------- > > > The official User-To-User support forum of the > > Apache HTTP Server Project. > > > See > > for more info. > > > To unsubscribe, e-mail: > > users-unsubscribe@httpd.apache.org > > > " from the digest: > > users-digest-unsubscribe@httpd.apache.org > > > For additional commands, e-mail: > > users-help@httpd.apache.org > > > > > > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the > > Apache HTTP Server Project. > > See > for > > more info. > > To unsubscribe, e-mail: > > users-unsubscribe@httpd.apache.org > > " from the digest: > > users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: > > users-help@httpd.apache.org > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the > Apache HTTP Server Project. > See for > more info. > To unsubscribe, e-mail: > users-unsubscribe@httpd.apache.org > " from the digest: > users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: > users-help@httpd.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org