I'm using the jitimage package to re-size and display images. Everything works fine on my local machine but it gives an error on my testing server.
You can see the error here: http://dev.gradimsam.si/images/4/208/150/upload/articles/kritina1.jpg
The error is:
preg_match(): Compilation failed: nothing to repeat at offset 185
Can someone please help me understand this error?
author of jitimage here.
This issues was caused by an positive lookahead that failed to compile in earlier php5.4 versions, and has been fixed now (v0.1.1).
For reference https://github.com/iwyg/jitimage/issues/5
Cheers, Thomas
你必须使用最新的PCRE库重建你的php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.