• <tfoot id='9hrX2'></tfoot>

    <i id='9hrX2'><tr id='9hrX2'><dt id='9hrX2'><q id='9hrX2'><span id='9hrX2'><b id='9hrX2'><form id='9hrX2'><ins id='9hrX2'></ins><ul id='9hrX2'></ul><sub id='9hrX2'></sub></form><legend id='9hrX2'></legend><bdo id='9hrX2'><pre id='9hrX2'><center id='9hrX2'></center></pre></bdo></b><th id='9hrX2'></th></span></q></dt></tr></i><div id='9hrX2'><tfoot id='9hrX2'></tfoot><dl id='9hrX2'><fieldset id='9hrX2'></fieldset></dl></div>
  • <small id='9hrX2'></small><noframes id='9hrX2'>

      • <bdo id='9hrX2'></bdo><ul id='9hrX2'></ul>

        <legend id='9hrX2'><style id='9hrX2'><dir id='9hrX2'><q id='9hrX2'></q></dir></style></legend>

        php解析sdk->你好世界错误

        php parse sdk -gt; hello world error(php解析sdk-你好世界错误)
          <tbody id='qVyB1'></tbody>

                <bdo id='qVyB1'></bdo><ul id='qVyB1'></ul>
                <i id='qVyB1'><tr id='qVyB1'><dt id='qVyB1'><q id='qVyB1'><span id='qVyB1'><b id='qVyB1'><form id='qVyB1'><ins id='qVyB1'></ins><ul id='qVyB1'></ul><sub id='qVyB1'></sub></form><legend id='qVyB1'></legend><bdo id='qVyB1'><pre id='qVyB1'><center id='qVyB1'></center></pre></bdo></b><th id='qVyB1'></th></span></q></dt></tr></i><div id='qVyB1'><tfoot id='qVyB1'></tfoot><dl id='qVyB1'><fieldset id='qVyB1'></fieldset></dl></div>
                <legend id='qVyB1'><style id='qVyB1'><dir id='qVyB1'><q id='qVyB1'></q></dir></style></legend>

                  <small id='qVyB1'></small><noframes id='qVyB1'>

                  <tfoot id='qVyB1'></tfoot>
                  本文介绍了php解析sdk->你好世界错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 Php Parse Sdk

                  我的代码:

                  <?php 
                  require 'vendor/autoload.php';
                  
                  use ParseParseClient;
                  
                  ParseClient::initialize('WVqz27oWBfP2weewrfeweKAlVWymjltMGqi9h', 'jgtaXI1Nrim1B4fdnewewewef3iNXgER8y', 'JD8B6dNL9FleweewewhjvvwZwIlc800');
                  
                  use ParseParseObject;
                  
                  $testObject = ParseObject::create("TestObject");
                  $testObject->set("foo", "bar");
                  $testObject->save();
                  
                  ?>
                  

                  和错误:

                  Fatal error: Uncaught exception 'ParseParseException' with message 'SSL certificate problem: unable to get local issuer certificate' in C:xampphtdocsparsesdkvendorparsephp-sdksrcParseParseClient.php:250 
                  Stack trace: #0 C:xampphtdocsparsesdkvendorparsephp-sdksrcParseParseObject.php(915): ParseParseClient::_request('POST', '/1/classes/Test...', NULL, '{"foo":"bar"}') 
                  #1 C:xampphtdocsparsesdkvendorparsephp-sdksrcParseParseObject.php(828): ParseParseObject::deepSave(Object(ParseParseObject)) 
                  #2 C:xampphtdocsparsesdkindex.php(12): ParseParseObject->save() 
                  #3 {main} thrown in  C:xampphtdocsparsesdkvendorparsephp-sdksrcParseParseClient.php on line 250
                  

                  推荐答案

                  选项1:

                  您可以关注网址http://curl.haxx.se/ca/cacert.pem 下载 cacert.pem 文件.然后去php.ini设置curl.cainfo = "c:/cacert.pem".

                  You can follow the url http://curl.haxx.se/ca/cacert.pem to download cacert.pem file. Then go to php.ini set curl.cainfo = "c:/cacert.pem".

                  选项 2:

                  尝试在您的项目中找到代码 curl_setopt($c, CURLOPT_URL, $url); 然后添加此代码 curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, TRUE);之前.

                  try to find the code curl_setopt($c, CURLOPT_URL, $url); in your project then add this code curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, TRUE); before.

                  这篇关于php解析sdk->你好世界错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Laravel 4 - Connect to other database(Laravel 4 - 连接到其他数据库)
                  Call external API function from controller, LARAVEL 4(从控制器调用外部 API 函数,LARAVEL 4)
                  Empty string instead of null values Eloquent(空字符串而不是空值 Eloquent)
                  quot;laravel.logquot; could not be opened: failed to open stream(“laravel.log无法打开:无法打开流)
                  Displaying the Error Messages in Laravel after being Redirected from controller(从控制器重定向后在 Laravel 中显示错误消息)
                  Laravel Creating Dynamic Routes to controllers from Mysql database(Laravel 从 Mysql 数据库创建到控制器的动态路由)
                1. <legend id='10pzO'><style id='10pzO'><dir id='10pzO'><q id='10pzO'></q></dir></style></legend>

                      <tbody id='10pzO'></tbody>
                        <bdo id='10pzO'></bdo><ul id='10pzO'></ul>

                      • <small id='10pzO'></small><noframes id='10pzO'>

                        <i id='10pzO'><tr id='10pzO'><dt id='10pzO'><q id='10pzO'><span id='10pzO'><b id='10pzO'><form id='10pzO'><ins id='10pzO'></ins><ul id='10pzO'></ul><sub id='10pzO'></sub></form><legend id='10pzO'></legend><bdo id='10pzO'><pre id='10pzO'><center id='10pzO'></center></pre></bdo></b><th id='10pzO'></th></span></q></dt></tr></i><div id='10pzO'><tfoot id='10pzO'></tfoot><dl id='10pzO'><fieldset id='10pzO'></fieldset></dl></div>
                        <tfoot id='10pzO'></tfoot>