I'm trying to install Saxon/C (beta version 0.3.1) on a Windows 7 machine but after following the instructions, when I attempt to restart PHP a Windows dialog box pops up saying;
The program can't start because php5ts.dll is missing from your computer. Try reinstalling the program to fix this error.
Followed by;
PHP Startup: Unable to load dynamic library 'ext\php_saxon.dll' - The specified module could not be found.
I'm using;
I start PHP from the command prompt by doing;
php-cgi -b 127.0.0.1:9000
If I remove the reference to Saxon extension=php_saxon.dll
from php.ini
then PHP starts OK but obviously the Saxon/C extension won't work. If I put the reference back into php.ini
then the errors appear.
It's as if Saxon/C is expecting PHP to be running in thread-safe mode, however the Saxon documentation implies that it should work with both thread-safe and non thread-safe;
The Saxon/C dll library is a 32-bit version. The PHP extension dll was compiled for PHP version 5.4 (TS/NTS).