简体   繁体   English

PHP缺少HTTP流包装器

[英]http stream wrapper missing from php

I just compiled php 5.2.17 with Suhosin Patch 0.9.7 and find that the http stream wrapper is missing ... I only have https, ftps, compress.zlib, php, file, data . 我刚刚用Suhosin补丁0.9.7编译了php 5.2.17,发现缺少http流包装器……我只有https, ftps, compress.zlib, php, file, data I have set allow_url_fopen = On but to no avail ... 我已经设置allow_url_fopen = On但无济于事...

What is causing the http stream wrapper to get excluded ? 是什么导致http流包装被排除在外?

OK, found the answer myself ... the problem was that our compile script had --with-curlwrappers which seems to be a really bad idea . 好吧,我自己找到了答案……问题是我们的编译脚本--with-curlwrappers ,这似乎是一个非常糟糕的主意 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. 到现在为止,这没有什么不良影响,因为我们未能正确链接curl库……但是由于我们修复了在新的编译中开始出现的故障……现在一切都很好了。

您可以将suhosin配置为将HTTP包装器列入白名单

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM