[PHP] PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread Jason Paschal
I use this setup locally for testing/playing. I recently installed the latest and greatest of the AMP collection. Apache 2.2.4 PHP 5.2.2 MySQL 5.0.37 Apache and PHP work fine together, but I wanted to hook it up to a local test database, so I installed MySQL. In php.ini, i have: ; Directory

Re: [PHP] PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread Davi
Em Segunda 07 Maio 2007 08:12, Jason Paschal escreveu: I use this setup locally for testing/playing. I recently installed the latest and greatest of the AMP collection. Apache 2.2.4 PHP 5.2.2 MySQL 5.0.37 Apache and PHP work fine together, but I wanted to hook it up to a local test

Re: [PHP] PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread Davi
Em Segunda 07 Maio 2007 09:03, Jason Paschal escreveu: thank you for responding. phpinfo shows that it is finding the correct file: Loaded Configuration File: C:\PHP\php.ini that is the correct file with the correct settings. i renamed it and phpinfo showed (none). i set it back to the

Re: [PHP] PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread Davi
Em Segunda 07 Maio 2007 09:37, vocĂȘ escreveu: I FOUND THE SOLUTION: i copied libmysql.dll and php_mysql.dll to my c:\windows\ folder suddenly my script connects. that's all it took. thank you for taking the time to help. maybe this info can help you or someone you know. Sure! =]

Re: [PHP] PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread Richard Lynch
Compare what ?php phpinfo();? says is REALLY your extension dir with what you think is your extension dir... On Mon, May 7, 2007 6:12 am, Jason Paschal wrote: I use this setup locally for testing/playing. I recently installed the latest and greatest of the AMP collection. Apache 2.2.4 PHP