Article ID: 2021, created on Jul 16, 2007, last review on Apr 28, 2014

  • Applies to:
  • Plesk 8.2 for Windows
  • Plesk 8.1 for Windows


Changing password in PHPadds, Settings, Main settings, Database settings fails with the following error:

502 Bad Gateway


PHP has encountered a Stack overflow


Error in my_thread_global_end(): 2 threads didn't exit


It’s a known bug of PHP 5.2.2 and 5.2.3 version.


To fix the problem it’s necessary to take libmysql.dll file from PHP 5.2.1 and replace existing one from current version. The library needs to be replaced in
%plesk_dir%\Additional\PleskPHP5 and C:\Windows\System32 folders.

Note: Do not forget to backup original files for emergency.


%plesk_dir% is environment variable which points to Plesk installation folder. By default it is C:\Program Files\SWsoft\Plesk

%plesk_bin% is environment variable which points to Plesk binaries folder. By default it is C:\Program Files\SWsoft\Plesk\admin\bin

7000fbc03a7e92b93bc676a7c04a4ce6 b23c51a6195823476e308cc12db2be0e 85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c c45acecf540ecd42a4bbfb242ce02b1d 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF