Re: PHP 5.1.1 on linux, PDO MySQL problems

From: Date: Wed, 30 Nov 2005 17:40:11 +0000
Subject: Re: PHP 5.1.1 on linux, PDO MySQL problems
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-16857@lists.php.net to get a copy of this message
Follow up, I just compiled PHP 5.1.1 on Mac OS X 10.4, similar configure line, not quite the same, and against MysQL 5.0 so probably not best comparison but PDO MySQL works properly under this setup which is sweet, but 2 failures with 5.1.0 and 5.1.1 on a Kubuntu linux install with MySQL 4.1. Anyway, so far nobody has replied with any ideas. Here's the configure line used on OS X: './configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-pdo' '--with-pdo-mysql=/usr/local/mysql' '--enable-soap' '--with-xml' '--with-xsl' '--enable-xsl' '--with-curl' '--enable-sockets' On Nov 29, 2005, at 10:47 AM, Jerome wrote:
After compiling PHP 5.1.1 (and 5.1.0 previously) myself on kubuntu linux, I can not used prepared statements with PDO & MySQL 4.1 that I have installed. No results get returned, the same code on a windows XP machine with MySQL 4.1 and PHP 5.1 installed has no problems. I can't figure out why this might be, something PHP needs that it doesn't explicitly say so just ends up breaking in behavior without? My configure: './configure' '--with-apxs2=/usr/bin/apxs2' '--with-pdo-mysql' '--with-pdo' '--enable-trans-sid' '--enable-magic-quotes' '--enable-mbstring' '--with-regex=system' '--with-curl' '--with-mysql' '--with-mysqli' '--with-xml' '--with-xsl' '--enable-xsl' '--enable-soap' '--enable-sockets' '--with-zlib' '--with-gd' '--enable-gd' -- jerome


« previous php.install (#16857) next »