From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 08:07:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3255316A4CE for ; Fri, 19 Mar 2004 08:07:51 -0800 (PST) Received: from gabby.gsicomp.on.ca (CPE00062566c7bb-CM000039c69a66.cpe.net.cable.rogers.com [67.60.54.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8627543D3F for ; Fri, 19 Mar 2004 08:07:50 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.9p2/8.12.9) with ESMTP id i2JGOBpU059701; Fri, 19 Mar 2004 11:24:11 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <003a01c40dcb$e0a86130$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "samy lancher" , "Jorn Argelo" References: <20040319160151.37235.qmail@web60301.mail.yahoo.com> Date: Fri, 19 Mar 2004 11:04:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: Re: php installation problems; now mysql connection problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 16:07:51 -0000 When you chose "install php without mysql", what you really did is install PHP without mysql _support_. This is why you can't connect. Reinstall PHP *with* mysql support and you will be fine. Matt ----- Original Message ----- From: "samy lancher" To: "Jorn Argelo" Cc: Sent: Friday, March 19, 2004 11:01 AM Subject: Re: php installation problems; now mysql connection problems > This morning I decided to install php4.4.2.2 back. In usr/ports/www/mod_php4 I gave "make clean". It cleared work directory. Than I gave "make install" command. I chose the option of installing php without mysql since i already have mysql in my system. Installation went on fine but now php is not able to connect to mysql. Any clues? > > Thanks, > Naveen. > Jorn Argelo wrote: > > Why don't you use portupgrade instead? You can install it via > /usr/ports/sysutils/portupgrade if you don't have it. Though I am not > certain if it works or even exists for FreeBSD 4.5 > > Anyway, if you do have it, try this: > > pkg_info | grep php > portupgrade -Rr > > Cheers, > > Jorn > > On 3/19/2004, "samy lancher" wrote: > > > > >Hello All, > > > >I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the command > > > >port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz > > > >I noticed that php old version got uninstalled and the new one did not get installed. Then in usr/ports/distfiles when i gave the command "pkg_add php4-4.3.3,1.tgz" i got an error > > > >read_plist: bad command '@conflicts php4-4*' > > > >I guess it is something to do with package version and their dependencies but I am not sure what exactly the problem is. > > > >I would also like to know if there is a way i can find out all the dependencies for a particular package before actually installing it. > > > >I would appreciate if some one could help me. > > > >Thanks, > > > >Naveen. > > > > > >Do you Yahoo!? > >Yahoo! Mail - More reliable, more storage, less spam > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Do you Yahoo!? > Yahoo! Mail - More reliable, more storage, less spam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >