Anatol Belski
Anatol Belski
I'm not sure about XAMPP 3.1.0, is there such version? On their site http://www.apachefriends.org/de/xampp-windows.html the highest is 1.8.x. Nevertheless, do you have the same crash running that code on CLI?...
Thanks, having the snippet is great. However I'd really appreciate to see the backtrace you have, preferably using the binary from http://windows.php.net/downloads/releases/ . Thanks
Or xmpp backtrace at least. You can run httpd.exe -X and attach debugger.
From what i see now - please exclude xdebug and try again. An example of good usable backtrace is on that page btw https://bugs.php.net/bugs-generating-backtrace-win32.php , just in the first section....
@bukka I've just debugged this case. Please look here https://gist.github.com/weltling/7273037 for the diff. What happens is, that fann_create_from_file() delivers NULL. fann_get_errno() will try to dereference it. The gist fixes that...
@bukka, i've actually worked on the snippet and data brought earlier by @Tjorriemorrie. For that the diff i've posted was sufficient. Maybe the data isn't completely invalid, so quite an...
@Adamloh which apache/php/fann build/version do you use? Can you reproduce the same error on console? What do apache and php error logs say?
ok, sounds like a configuration issue at the first glance. One reason might be that the dependency dll isn't on the path. With apache even - CWD is not the...
@BlkChockr did it work on CLI the way i've suggested to try above? thanks.
@BlkChockr that's great! So this one is indeed a configuration issue about doublefann.dll being on the %path%. I expect it to work if you add the path to that dll...