Where to add mysql extension "mysql-" in PHP?

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Deepaksh113
TestLink user
Posts: 3
Joined: Tue Dec 15, 2009 6:08 am

Where to add mysql extension "mysql-" in PHP?

Post by Deepaksh113 »

I am trying to install Testlink 1.8.
Php5.2
Apache2.2
MySQL5.1 all are installed.

http://localhost/testlink/install/index.php is opening
i click on new installations
On this page it tells me
Checking MySQL Database Failed! MySQL Database cannot be used.

I select MySQl as database
I give localhost as db host
dbname as testlink
db login as root and leave the password blank
Testlink db login as "testlink"
Testlink db password as "testlink"

Click on Process Testlink setup
On Licence screen select the checkbox and click proceed.

I get the following error "Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed! "

Please help!!!!
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

I am not sure, what server you using, But what i knew is in the PHP folder,

you will have php.ini file edit it and make sure, that
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
This lines exist and should be in same way.

If this doesnt work, please uninstall you mysql and try again.

I think Search in the forums you will definitely get an answer.
Thanks,
TesterWorld
Http://amartester.blogspot.com
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

It seems all that is need is to install the mysql extension:

For me, on Fedora 11, that is:

yum install php-mysql

That line will probably need modification to fit your system, if different.
Post Reply