For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2005 > Re: [PHP-INSTALL] PHP 5.1.1 on linux, PDO MySQL problems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] PHP 5.1.1 on linux, PDO MySQL problems
Jeremy Knope

2005-12-01, 7:04 pm

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
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com