How to hook PHP 5 up with MySQL extension

The release related discussions, plans and questions.
Locked
pyang
Advanced user
Posts: 18
Joined: Sat Feb 04, 2006 12:28 am
Contact:

How to hook PHP 5 up with MySQL extension

Post by pyang »

Hi,

I'm trying to install testlink 17 RC3 on a Windows 2003 box with MySQL 5.1/PHP5.2.4/Apache2.2.

I'm seeing the following message though.

Warning!: Your PHP installation don't have the MySQL extension - without it is IMPOSSIBLE to use Testlink.Failed!

I then make sure my php.ini has the following entries
extension_dir = "C:\php-5.2.4-Win32\ext"
extension=php_mysql.dll

PHP root dir (C:\php-5.2.4-Win32\) is included environmental path.

httpd.conf has the following entries
LoadModule php5_module "C:/php-5.2.4-Win32/php5apache2_2.dll"
PHPIniDir "C:/php-5.2.4-Win32/"

All dirs look correct.

phpinfo.php shows all settings, but not the mysql section, which means php5 is not configured right to work with MySQL5.1.

Can somebody tell me what I'm missing or got wrong so that I can proceed with the installation?

Thanks,

Paul
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

is not a TL problem, is PHP + MySQL problem

Just to check this:
1. create a simple page <?php phpinfo(); ?>
to get info about loaded extensions

2. install phpMyadmin and check if it works
davila
Advanced user
Posts: 28
Joined: Tue May 16, 2006 3:11 pm

Post by davila »

pyang ... any luck with this? i'm getting the same error message and have tried everything i can think of and most of what's online for this specific error. thx.
Xgrind
Advanced user
Posts: 25
Joined: Mon Dec 18, 2006 2:24 am

Post by Xgrind »

Hi fman,

I do get the same issue when I attempt to migrate the DB from 1.6.2 to 1.7.1. however, I am able to use 1.6.2 flawlessly and with new DB for 1.7.1

Can you help on this (cos I am not very good with these configurations)?

I also attached the results from the phpinfo page so that you can help me see what is wrong with my configurations. Appreciate very much :)

http://www.mediafire.com/?cz21szyem4j
Locked