Add MySQLi to PHP on RHEL4

Ahhh

I know this should be easy to fix but I am still a little new to Linux.

I have Mysql installed and I have php installed - and I have apahce installed

All are working - but I don't have the MySQLi module loaded in PHP

I have version 4.3.9 of PHP and 5.0.18standard of MySQL


I didn't know where to ask this since it involves programming (PHP) and database (MySQL)
LVL 2
jculkincysAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xDamoxCommented:
Hi,

Try the following as root

up2date -i php-mysql
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jculkincysAuthor Commented:
That worked great

What exactly did it do? I am familar with the purpose of up2date but I don't exactly understand how it fixed this problem.

did it modify my php.ini file?

thanks
0
xDamoxCommented:
Hi,

It installed php-mysql package :)
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

jculkincysAuthor Commented:
Do you know if that would modify my php.ini?
0
jculkincysAuthor Commented:
Also any suggestion on how to install mysqli

up2date -i php-mysqli
didnt work
0
xDamoxCommented:
Hi,

to install MySQL do

up2date -i mysql-server
0
jculkincysAuthor Commented:
I am looking for the mysqli (theres an "i" at the end)  extention for PHP

thanks for going the extra mile
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.