Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

working mysql and mysqli at the same time

Posted on 2008-06-25
3
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 1000 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

609 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