flaupretre / pecl-pcs

PHP Code Service
Other
25 stars 4 forks source link

Incompatibility with suhosion ext. #4

Open remicollet opened 8 years ago

remicollet commented 8 years ago

NTS

$ php -n -d extension=tokenizer.so -d extension=suhosin.so  -d extension=pcs.so   -m
(no output, so something wrong)

ZTS

$ zts-php -n -d extension=tokenizer.so -d extension=suhosin.so  -d extension=pcs.so   -m
Erreur de segmentation (core dumped)

With PHP 5.6.16, Suhosin 0.9.38, pcs 1.3.0

remicollet commented 8 years ago

From suhosin, need :

-d suhosin.executor.include.whitelist=pcs://
flaupretre commented 8 years ago

Fixed in NTS. Seg fault remains in ZTS mode (tested with 5.6.4).