# Linking against bundled libmysql

- Thread: https://externals.io/message/26900
- Original archive: https://news-web.php.net/php.internals/26900
- Started by Mauro N. Infantino on 2006-12-11T22:10:26+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

---

## #26900 — Mauro N. Infantino — 2006-12-11T22:10:26+00:00

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

Hi all,

I'm sorry to ask this again, but I can't find the way to compile my custom
extension against the bundled libmysql in PHP4 on Windows. I'm trying to
fetch a mysql extension resource ( zend_fetch_list_dtor_id("mysql link") &
ZEND_FETCH_RESOURCE2 with that id). I'm using header and library files from
the included ext/mysql/libmysql directory, but when running from the command
line I get a 'Access violation writing location ...'. 
The extension works great in PHP5 Win/Unix.

Any suggestion?

Thank you very much in advance.

Mauro Nicolás Infantino
Departamento de Desarrollo
mauroi@digbang.com 
Vera 568 - BA - Argentina :: 54 11 4857 6585 :: www.digbang.com
