# Building ext/mysql on Windows

- Thread: https://externals.io/message/2763
- Original archive: https://news-web.php.net/php.internals/2763
- Started by Sebastian Bergmann on 2003-06-25T05:17:38+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2763 — Sebastian Bergmann — 2003-06-25T05:17:38+00:00

URL: https://externals.io/message/2763#2763

I have disabled the built-in ext/mysql on Windows in config.w32.h.

  When I enable it and try to build, I get the following linker errors:

    php_mysql.obj: error LNK2001:
    Unresolved external symbol _mysql_thread_init@0

    php_mysql.obj: error LNK2001:
    Unresolved external symbol _mysql_thread_end@0

  I have MySQL 4.0.13 includes and library in my MSVC paths.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

         http://www.professionelle-softwareentwicklung-mit-php5.de/
