Mysql extension missing in php.ini

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
kasirajan
TestLink user
Posts: 2
Joined: Mon Nov 24, 2008 11:38 am

Mysql extension missing in php.ini

Post by kasirajan »

I am getting the following error while installing Test Link 1.8

"Checking PHP DB extensions Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed! "

Please help me how to solve this issue?

Thanks in Advance.

Kasirajan.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

Speaking from a RedHat/Fedora point of view, the extension has nothing to do with the php.ini file, rather it is the php installation.

For whatever reason, there are two RPM packages in the distribution, php with mysql, and php without mysql, and the package without mysql is installed by default. (it was on our server, at least)

So if you have RedHat or Fedora, then this command should work: (as root, of course)
#yum install php-mysql

Then restart the httpd:
#service httpd restart

HTH
Post Reply