From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 18:22:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48435106567F for ; Tue, 14 Jun 2011 18:22:42 +0000 (UTC) (envelope-from techlist@mail.bnetmd.net) Received: from mail.bnetmd.net (NS1.BNETMD.NET [66.159.80.125]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE4B8FC22 for ; Tue, 14 Jun 2011 18:22:41 +0000 (UTC) Received: from GLENN2 (c-68-33-226-75.hsd1.md.comcast.net [68.33.226.75]) by mail.bnetmd.net (8.13.6/8.13.6) with SMTP id p5EIMMp9026822 for ; Tue, 14 Jun 2011 14:22:23 -0400 (EDT) (envelope-from techlist@mail.bnetmd.net) Message-ID: <6EA7BB70AAF642C8B44B4966E7D678EE@GLENN2> From: "Glenn McCalley" To: References: <0F3C08F3CEF445EB8DC0060735DCA69D@GLENN2><201106141246.06598.rjgonzale@estrads.com.ar><406F55CAA3BC4849A8D840BE1E79D3CD@GLENN2> <201106141345.18503.rjgonzale@estrads.com.ar> Date: Tue, 14 Jun 2011 14:22:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Mailman-Approved-At: Tue, 14 Jun 2011 18:58:49 +0000 Subject: Re: mysql_connect error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Glenn McCalley List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 18:22:42 -0000 ----- Original Message ----- From: "Rodrigo Gonzalez" To: ; "Glenn McCalley" Cc: Sent: Tuesday, June 14, 2011 12:45 PM Subject: Re: mysql_connect error > On Tuesday, June 14, 2011 12:56:11 PM Glenn McCalley wrote: >> Rodrigo, >> The php.ini path and file match the phpinfo page. >> >> However, php -m does NOT report a mysql module, and I get the same >> Undefined symbol error our of lubmysqlclient.so.16 that I mentioned in my >> answer to Greg's post. >> >> The line "extension=mysql.so" IS is the extensions.ini file. >> >> Thanks, >> Glenn. >> > > I would start reompiling mysql client libraries and then php-mysql > extension > again > > _______________________________________________ > 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" > OK! Something new! Rebuilt everything I could think of and no joy. The genesis of this thing is a php "page" that is executed out of cron as a command. It worked great until mysql 5.5 installed. I've been testing from the command line. Then had a brainstorm, and ran the php "page" from the address line of a browser instead of the command line and it works. Should of thought of that test before. So why is it OK thru a browser but not as a command? That leads me to believe it's not mysql_connect's problem at all but the php cli isn't working properly. Thoughts? ...and thanks folks for all your help. Glenn.