This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: php 7 upgrade -- segmentation fault


On 2016-11-29 12:22, 59yfvs+f4bkzvgzw@guerrillamail.com wrote:
I can revert to php5 (insecure) and the problem is gone.  I just performed
a full rebase which did nothing for this problem. Are you saying that on a
Windows 7 64 bit Home system with 32 bit cygwin you are not having any issues?

I was testing on Windows 10 Pro.

I found a solution that is not really satisfying.  If I go into Windows
System Advanced Settings - Data Execution Prevention tab, and I explicitly
add php.exe to the list of DEP exceptions, I no longer have errors with preg_match().

Ah, that explains it. PHP 7 uses pcre's JIT functionality where 5.6 did not. I guess you'd have the same problem with anything using a JIT. You will have to handle such issues with DEP on your end.

--
Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]