• <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->你好世界错误

        时间:2023-10-30
          <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->你好世界错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Facebook 图形 API 和PHP SDK 问题 下一篇:redirect_uri URL 必须是绝对 Facebook 登录 PHP SDK

                  相关文章

                1. <legend id='10pzO'><style id='10pzO'><dir id='10pzO'><q id='10pzO'></q></dir></style></legend>

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

                  1. <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>