Go ahead and take this question to the tesseract-ocr-for-php developers. >From your error messages, you are running on a platform that doesn't support fmemopen. If Windows, then there is trouble with Leptonica's fallback function fopenWriteWinTempfile(). If Linux, then somehow PHP is restricting the call to tmpfile().
Anyway, start with the tesseract-ocr-for-php developers, and if they need a change to Leptonica have them get in direct contact with me or the Leptonica author. This is probably not something you can solve for yourself as a user. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/a6548fd6-49e6-4959-8e8b-ef437dfefe8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

