Solved

working mysql and mysqli at the same time

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Creating and Managing Databases with phpMyAdmin in cPanel.
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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