开发者

http stream wrapper missing from php

开发者 https://www.devze.com 2023-02-11 03:24 出处:网络
I just compiled php 5.2.17 with Suhosin Patch 0.9.7 and find that the http stream wrapper is missing ... I only ha开发者_运维问答ve https, ftps, compress.zlib, php, file, data. I have set allow_url_fo

I just compiled php 5.2.17 with Suhosin Patch 0.9.7 and find that the http stream wrapper is missing ... I only ha开发者_运维问答ve https, ftps, compress.zlib, php, file, data. I have set allow_url_fopen = On but to no avail ...

What is causing the http stream wrapper to get excluded ?


OK, found the answer myself ... the problem was that our compile script had --with-curlwrappers which seems to be a really bad idea. Until now this had no ill effect since we failed to properly link the curl library ... but since we fixed that in the new compile things started to fail ... now all is well.


You can configure suhosin to whitelist http wrapper

0

精彩评论

暂无评论...
验证码 换一张
取 消