Configuring PHP with MySQL

Configuring PHP with MySQL

am 26.12.2007 06:03:59 von Balaji A

Hi,

I have installed following things on windows machine.

1. Apache HTTP Server 2.2.4
2. PHP 5.2.3
3. MySQL 5.0.45

I am getting mysql_connect() not found.

I have downloaded libmysql.dll, php_mysql.dll & php_mysqli.dll and
copied to c:\php\ext.

I have uncommented these dll files in php.ini and still getting the same issue.

I am not able to see mysql table in phpinfo(), and seeing only mysqli.

Could anybody help me on this issue? Not able to resolve this from past 3 days.

Any help/suggestions appreciated.


Thanks
Balaji

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Configuring PHP with MySQL

am 26.12.2007 16:29:46 von szalayr

You should have a line like this in your httpd.conf


PHPIniDir "C:/Program Files/Apache Group/Apache2.2/php5.2"


Make sure that is pointing to the directory where your php.ini is
located.


"Success is the ability to go from one failure to another with no loss
of enthusiasm."=20
Sir Winston Churchill=20
=20

-----Original Message-----
From: Balaji A [mailto:reachtechie@gmail.com]=20
Sent: Wednesday, December 26, 2007 00:04
To: php-db@lists.php.net
Subject: [PHP-DB] Configuring PHP with MySQL

Hi,

I have installed following things on windows machine.

1. Apache HTTP Server 2.2.4
2. PHP 5.2.3
3. MySQL 5.0.45

I am getting mysql_connect() not found.

I have downloaded libmysql.dll, php_mysql.dll & php_mysqli.dll and
copied to c:\php\ext.

I have uncommented these dll files in php.ini and still getting the same
issue.

I am not able to see mysql table in phpinfo(), and seeing only mysqli.

Could anybody help me on this issue? Not able to resolve this from past
3 days.

Any help/suggestions appreciated.


Thanks
Balaji

--=20
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php