Welcome to WebmasterWorld Guest from 54.157.225.99

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP5 with MySQL 4.0

possible to use both msyql and mysqli connections?

     
6:57 pm on Aug 16, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 5, 2004
posts:202
votes: 0


I would like to move up to PHP5, but our server currently uses MySQL 4.0, and it's not possible for us to upgrade to MYSQL 4.1 or greater at this time because we have so many live applications using MySQL 4.0 that we can't risk messing up right now..

Does anyone know if it is possible to use PHP5 with MySQL 4.0 and have both the mysql and mysqli functions available?

I understand that mysqli is designed for MySQL version 4.1 or greater and that I wouldn't have access to all of the features if using the previous version, but I wonder whether I could still use the object oriented methods of accessing the databases that is provided by mysqli. Or would I only be able to use mysql_connect if using Mysql 4.0?

2:13 pm on Aug 22, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12541
votes: 1


The mysqli [php.net] extension allows you to access the functionality provided by MySQL 4.1 and above.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members