[imp] PHP & Mysql problem

Cedric Tardif sysadmin@destination.ca
Thu, 28 Feb 2002 13:33:01 -0500


Hi Devin,

I alway use the --with-mysql option ... 

but if i compile without it or with this line i don't get the good version of mysql in the phpinfo() but the 2 options give different version of mysql ...

Very strange problem.

Thanks anyway for your help ... and if you have other idea feel free to send them :)

Regards
Cedric

At 13:30 28/02/02, you wrote:

>Cedric,
>
>Yes the problem is because you recompiled your PHP against
>a wrong version of the MySQL libraries. You probably used
>PHP's built in MySQL libraries?
>
>If you probably compiled PHP like:
>
>./configure --with-mysql --other-options-here
>
>But instead you need to recompile with:
>
>./configure --with-mysql=/usr/local
>
>That causes it to use the MySQL libraries on the system
>rather than the ones built into PHP.
>
>Let me know if that helps. :)
>
>
>-----Original Message-----
>From: Cedric Tardif [mailto:sysadmin@destination.ca]
>Sent: Thursday, February 28, 2002 11:27 AM
>To: imp@lists.horde.org
>Subject: [imp] PHP & Mysql problem
>
>
>Hi all,
>
>I have just intalled php 4.1.2.
>
>Now nothing work.
>
>I got this error :Warning: MySQL: Unable to save result set in
>
>with insert,update,delete but not with select ....
>
>Anyone have seen this before ?
>
>Cédric
>
>
>--
>IMP mailing list: http://horde.org/imp/
>Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
>-- 
>IMP mailing list: http://horde.org/imp/
>Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org