[PHP-DB] HELP! PHP 4.4.4 and MySQL 4.1 - Can't find php_mysql.dll

2009-02-18 Thread John Burns
I'm using Windows 2003, IIS and PHP 4.4.4 with MySQL 4.1. I had this
same setup on a server that got corrupted by a virus. I can't use any
of the files from the old setup so I'm trying to reinstall the same
versions. However, I can't find a php_mysql.dll file that will work.
All of the zip packages I download from php.net don't have the
php_mysql.dll file in the extensions folder. They have everything else
but that. Am I missing something? Please help if you have any idea.
The one php_mysql.dll file I did find and dropped in gives me the
following error:

Unable to initialize module Module compiled with module API=20050922,
debug=0, thread-safety=1 PHP compiled with module API=20020429,
debug=0, thread-safety=1 These options need to match in Unknown on
line 0

I'm guessing that means that PHP was compiled older than the
php_mysql.dll and that the dll is too new. Does someone have the older
version? Thanks in advance for the help!

John

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



Re: [PHP-DB] HELP! PHP 4.4.4 and MySQL 4.1 - Can't find php_mysql.dll

2009-02-18 Thread Chris

John Burns wrote:

I'm using Windows 2003, IIS and PHP 4.4.4 with MySQL 4.1. I had this
same setup on a server that got corrupted by a virus. I can't use any
of the files from the old setup so I'm trying to reinstall the same
versions. However, I can't find a php_mysql.dll file that will work.
All of the zip packages I download from php.net don't have the
php_mysql.dll file in the extensions folder. They have everything else
but that. Am I missing something? Please help if you have any idea.
The one php_mysql.dll file I did find and dropped in gives me the
following error:

Unable to initialize module Module compiled with module API=20050922,
debug=0, thread-safety=1 PHP compiled with module API=20020429,
debug=0, thread-safety=1 These options need to match in Unknown on
line 0


As you found out, you can't do that - they need to come from the same 
release.


Try here:

http://www.php.net/releases/

Grab the 4.4.4 windows zipfile and that should have all of the 
extensions you need.


--
Postgresql  php tutorials
http://www.designmagick.com/


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