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

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

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

        时间:2023-07-16
        • <tfoot id='v73ia'></tfoot>
            <legend id='v73ia'><style id='v73ia'><dir id='v73ia'><q id='v73ia'></q></dir></style></legend>
              • <bdo id='v73ia'></bdo><ul id='v73ia'></ul>

                    <tbody id='v73ia'></tbody>

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

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

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

                  上一篇:PHP计数目录和子目录中的总文件功能 下一篇:新的 parse.com php API - currentUser 不回馈用户

                  相关文章

                  <legend id='4iriN'><style id='4iriN'><dir id='4iriN'><q id='4iriN'></q></dir></style></legend>

                  <small id='4iriN'></small><noframes id='4iriN'>

                  • <bdo id='4iriN'></bdo><ul id='4iriN'></ul>

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