Solved

working mysql and mysqli at the same time

Posted on 2008-06-25
3
277 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

726 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