Solved

working mysql and mysqli at the same time

Posted on 2008-06-25
3
268 Views
Last Modified: 2013-12-12
I am running Mysql 5.
My php is currently in mysql mode.


How can I run both mysql and mysqli modes?
Thanks
0
Comment
Question by:Evan Cutler
3 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 250 total points
ID: 21872475
You need to activate both extensions for php. Check your php.ini for presence extension=mysql*, add both and restart the webserver.
0
 
LVL 20

Assisted Solution

by:virmaior
virmaior earned 250 total points
ID: 21874449
further, they need to be complied with the same MySQL client library.  

This is more an issue with linux distros than with windows.  For windows, just get the DLLs from the same binary distribution of PHP.

Otherwise, you get some rather craptastic and random errors
0
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 31470875
good stuff guys.
thanks.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now