mysqli installation in centos 6.9

General support questions
Post Reply
shufilk
Posts: 2
Joined: 2017/08/03 06:45:11

mysqli installation in centos 6.9

Post by shufilk » 2017/08/03 06:53:47

Hello,

i have using php 5.6 with apache 2.4 , i need to install mysqli extension , i have done with below commands for install extension
cd php-5.6
cd extname
phpize
./configure
make
make install
# its seem installed correctly
and also i have added path in php.ini , but still its not install mysqli , php -i | grep mysqli is given mysqli with details,
php info only seems one line for mysqli , if am testing simple mysql connector using mysqli , its getting PHP fatal error , i thing its not installed correctly .
## i have restarted apache , and added module mysqli.so directory here '' php -i | grep directory '' , nothing happen .
Please help me only one for resolve this issue . :?:

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: mysqli installation in centos 6.9

Post by TrevorH » 2017/08/03 08:18:40

We do not support source installs. You can find httpd24u* and php56u* packages in the IUS Community repo, prebuilt by reputable people - the repo is run by people who work for Rackspace although it's not an official Rackspace project.

Are you even sure that mysqli works on php56? If I remember correctly, it is being or has been deprecated in favour of mysqlnd.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply