mysqli for php4.3.11???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
monloi
Forum Newbie
Posts: 7
Joined: Thu Mar 16, 2006 3:00 am
Contact:

mysqli for php4.3.11???

Post by monloi »

hi,

im using php4.3.11 and mysql 5.0.20a...i want to access some of mysql5's functions...and they sed i can get it from mysqli library...but the problem is i cant find or download the mysqli library...

can someone give me a link to that library...

thanx,
mon
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

You need to compile PHP with "--with-mysqli=mysql_config_path/mysql_config". Check with phpinfo() to see if it is installed.
(#10850)
Zythan
Forum Newbie
Posts: 16
Joined: Wed Apr 12, 2006 3:13 am

Re: mysqli for php4.3.11???

Post by Zythan »

Hello,

Here is the link I think you would like:

http://dev.mysql.com/downloads/connector/php/

HTH

Zythan
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I thought mysqli was a PHP5 thing (because of it's object oriented nature). Can it be used in PHP4?
monloi
Forum Newbie
Posts: 7
Joined: Thu Mar 16, 2006 3:00 am
Contact:

Post by monloi »

arborint wrote:You need to compile PHP with "--with-mysqli=mysql_config_path/mysql_config". Check with phpinfo() to see if it is installed.
i forgot to tell u..im using windows...
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post by dibyendrah »

If I'm not wrong, mysqli is supported only by php5 .

:wink:
Dibyendra
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Funny things happen when you read the manual :D . Mysqli can be used by PHP 4.1.3 and up. Check out the manual for what to do to get mysqli working with your PHP.
Post Reply