For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2006 > #36863 [Bgs->Opn]: No set_charset method despite libmysql 5.0.18 and php 5.1.2









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 #36863 [Bgs->Opn]: No set_charset method despite libmysql 5.0.18 and php 5.1.2
joustin at post dot pl

2006-03-27, 3:57 am

ID: 36863
User updated by: joustin at post dot pl
Reported By: joustin at post dot pl
-Status: Bogus
+Status: Open
-Bug Type: MySQLi related
+Bug Type: Documentation problem
Operating System: Windows
PHP Version: 5.1.2
New Comment:

Thanks for solution, though this really needs proper documenting.

http://www.php.net/manual/en/functi...set-charset.php


Previous Comments:
------------------------------------------------------------------------

[2006-03-26 21:18:55] georg@php.net

PHP can't provide actual binaries for MySQL 4.1, 5.0 (and 5.1 soon).
Please download the version you need from the MySQL website.

------------------------------------------------------------------------

[2006-03-26 16:55:45] kleef84 at hotmail dot com

You can download the latest mysql connector for PHP5 from the mysql
site at http://dev.mysql.com/downloads/connector/php/

------------------------------------------------------------------------

[2006-03-26 13:57:38] joustin at post dot pl

So what does the following refer to?
Note: To use this function on a Windows platform you need MySQL client
library version 4.1.11 or above (for MySQL 5.0 you need 5.0.6 or above)


http://www.php.net/manual/en/functi...set-charset.php

Are you suggesting it's impossible to get mysql5 support in php5 for
win32 unless re-compiled ?

------------------------------------------------------------------------

[2006-03-26 13:48:37] tony2001@php.net

You can change the library as many times as you want, but the function
will not appear magically because the .dll was compiled against older
library.

------------------------------------------------------------------------

[2006-03-26 13:27:18] joustin at post dot pl

Tried newest build:
PHP 5.1.3RC2-dev (cli) (built: Mar 26 2006 12:18:57)
.... and no effect.

Btw: the mysql server is also ver 5.0.18, win32 build on dedicated
win2003 server.

Tried with 5.1.2 php on linux, also mysqli with Client API version =>
5.0.18. Working flawlessly!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36863

--
Edit this bug report at http://bugs.php.net/?id=36863&edit=1
Sponsored Links







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

Copyright 2008 codecomments.com