working mysql and mysqli at the same time

I am running Mysql 5.
My php is currently in mysql mode.


How can I run both mysql and mysqli modes?
Thanks
LVL 9
Evan CutlerVolunteer Chief Information OfficerAsked:
Who is Participating?
 
hernst42Commented:
You need to activate both extensions for php. Check your php.ini for presence extension=mysql*, add both and restart the webserver.
0
 
virmaiorCommented:
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
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
good stuff guys.
thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.