代码说

code is poetry

代码说    
碎碎念:天空一声巨响,“代码说”闪亮登场!  换一换

解决在php5.5中使用Curl类时爆出的Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*

作者:coderzheng 发布于:2016-7-22 17:19 Friday 分类:php  阅读模式

最近项目使用到了php5.5,于是本地使用了一个全新的集成组件phpStudy,很不幸的是开发过程中我又不幸中枪了。
问题描述:测试发现,一个环信发送消息的方法使用了框架中的一个Curl类,每次都爆出warning,如下图:

但是在centos6.5中并不会出现这样的情况(同样是使用php5.5),google之后有同学在github上给出了解决方法:
https://github.com/php-curl-class/php-curl-class/commit/4cb1436983bd7c73096bdcd0461b9a3bf4d12998

请大家注意用红色线框标注的部分。
PS:本人phpStudy环境如下图:















================== OV
So put me in the cage
Lock me in a room
Throw away the key
I dare you
ER ==================

标签: 疑难杂症

你可以发表评论、引用到你的网站或博客,或通过RSS 2.0订阅这个博客的所有文章。
上一篇: 深入理解php中的return语句  |  下一篇:DOGFIGHT

评论(2)条

UninySor 2019-06-13 14:21
The obtain converse cheap are basic but classy. They are created of rubber and canvas. The ease and comfort quotient from the footwear truly sets it in addition to other individuals. College heading younger young children seem these playful sneakers. They love to mix and match the laces to deliver their private vogue assertion. As these sneakers can be found in the assortment of colors, they go very well with all outfits. Converse has a fascinating qualifications.

Marquis Mills, the founding father of the business started off out his rubber shoe organization in Malden Ma, in the calendar year 1908. As basketball was a well-liked sport of that point, the business enterprise commenced building individualized footwear for that gamers,. In 1923, the corporation 1st built custom-made converse basketball shoes for brand new York Bens, the main African-American staff. Shortly, other teams also joined the bandwagon and also the company commenced manufacturing individualized sneakers for numerous teams. The shoes had been made according to the special shades with the groups. The large very good excellent, pleasing designs, enjoyable colour mixtures and luxury before long manufactured the maker exceptionally well-known all over the whole world,low-priced converse footwear. A lot of celebrity sporting activities activities-people ended up discovered carrying the shoes even off subject matter.

As the reputation from the manufacturer grew, i really like converse hi tops turned a well known selection amid recurrent males and women. Currently, these sneakers are worn by approximately each individual person, irrespective of age or occupation. You will end up stunned to understand that right now the majority of guys and women sporting the footwear are usually not linked to basketball in any way. What started for a pure basketball shoe has now develop into an day-to-day have on,converse sneakers. Children take pleasure in these elegant and at ease shoes and it's common to find out them put on these sneakers to college.

The womans converse aren't only cozy, but will also tricky and attractive. Though the fashion is simple, the product is usually just acknowledged. They have got a background of 90 numerous several years and nevertheless organizing strong. As well as very best issue would be that the manufacturer title understands people閳ユ獨 needs, and adjustments appropriately to produce improved converse basketball sneakers to the present era. For much better or even worse, guy has tamed Mom Mother nature in many nations,low-priced toms sneakers. My common effect is that this isn閳ユ獩 the situation in Costa Rica.

http://www.chicagobd.com/company/ysl-wallet-on-chain_18228157/
http://www.chicagobd.com/company/ysl-clutch_18228156/
https://cheapyslbags.quora.com/Just-Cavalli-Womens-Baggage-Luggage-Properly-Worthy-of-Your-Financial-commitment
https://cheapyslbags.quora.com/Personalized-Printed-Canvas-Tote-Baggage
https://blog.goo.ne.jp/moschinohandbags/e/f79a1f0b155bc918ead4657f944693c4
http://moschino06.jugem.jp/?eid=34
http://moschino06.jugem.jp/?eid=35
https://www.fyple.com/company/ysl-crossbody-bag-yyo44bg/
https://www.fyple.com/company/ysl-tote-bag-yyo3dgw/
http://browserbackgrounds.com/orca/topic/The-brand-new-Fashion-of-Embroidered-Hand-Baggage.htm
JamesVox 2019-05-18 14:10
Wayne's absence isn't the only notable change Saturday.

The NFC West went 10-30 in 2008 for a .250 winning percentage for the worst divisional mark since 1970.
This is a team coming off a 6-10 season. It also is one that has not raised expectations in the preseason in what might be a make-or-break year for the 69-year-old Coughlin.
He joins an Arkansas program that finished 7-6 in Bielema's second season after a Texas Bowl win over Texas last year. He takes over a backfield that features Steelers Jerseys <a href=http://www.fansfalconsteamstore.com/>Discount Falcons Jerseys</a> Cheap <a href=http://www.airforcescontate.it/>Scarpe Nike Air Force Just Do It</a> Seahawks Gear On Sale a pair of 1,000-yard running backs in Jonathan Williams and Alex Collins.