Greetings, Cool Dude.
In reply to Your message dated Wednesday, October 31, 2007, 00:32:31,
Thanks Paul/macca. Although I have seen this reply after a long time,
I guess it will be helpful when I do a fresh install of WAMP some
other time. My problem was solved by copying the "libmysql.d ll" file
inside the "php\." directory to the "windows\system 32\" Someone on IRC
told me to do that.
That was a bad solution.
Right one is to preload library before loading PHP extension.
Following example is from my live Apache installation:
LoadFile C:/usr/sbin/php-5.2.2-Win32/libeay32.dll
LoadFile C:/usr/sbin/php-5.2.2-Win32/ssleay32.dll
LoadFile C:/usr/sbin/mysql/bin/libmySQL.dll
LoadFile C:/usr/sbin/php-5.2.2-Win32/php5ts.dll
LoadModule php5_module "C:/usr/sbin/php-5.2.2-Win32/php5apache2_2_f ilter.dll"
<IfModule php5_module>
php_admin_value extension_dir "C:/usr/sbin/php-5.2.2-Win32/ext"
PHPIniDir "C:/usr/sbin/php-5.2.2-Win32"
</IfModule>
Notice that I use libMySQL shipped with MySQL server rather than one bundled
with PHP. I've recently discovered problem in bundled libMySQL.dll slowing
down server and cause high system load. Details on bugtracker, if You want
more info.
Other solution is to use Connector/PHP from MySQL website. (One for
PHP5/MySQL5, I've got twice increase in server responsivity from time I
change connector from bundled with PHP 5.2.4 to one suppied by MySQL)
--
Sincerely Yours, AnrDaemon <an*******@free mail.ru>