回复: [PHP] the function open ssl_get_publickey() 's result is diferrent in php 7 and p hp5. 6.16 and php5.5.12 ???? s o what is wrong?????

From: Date: Wed, 16 Mar 2016 11:00:52 +0000
Subject: 回复: [PHP] the function open ssl_get_publickey() 's result is diferrent in php 7 and p hp5. 6.16 and php5.5.12 ???? s o what is wrong?????
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-325473@lists.php.net to get a copy of this message
oh sorry ,get that , so how to check the openssl error message , i have checked the php error log file ,but nothing get .... ------------------ 原始邮件 ------------------ 发件人: "Frank Arensmeier"<farensmeier@gmail.com>; 发送时间: 2016年3月16日(星期三) 晚上6:57 收件人: "php-general"<php-general@lists.php.net>; 抄送: "v-LeonHou"<764436364@qq.com>; 主题: Re: [PHP] the function openssl_get_publickey() 's result is diferrent in php 7 and php5. 6.16 and php5.5.12 ???? so what is wrong????? 16 mar 2016 kl. 11:50 skrev v-LeonHou <764436364@qq.com>: yeah i have read that before ,but i am using the X.509 style public key ........ > 16 mar 2016 kl. 11:29 skrev v-LeonHou <764436364@qq.com>: > > hi everyone, > > today i meet a strange while the function openssl_get_publickey() runs well in php 7 while > report an error in php5. 6.16 and php5.5.12 > Hi. What type of public key are you using? The OpenSSL implementation seems to have some issues with PKCS#1 RSA public keys. Please read the user comment about openssl_get_publickey about this issue (http://php.net/manual/en/function.openssl-pkey-get-public.php#101513). I strongly suggest to have a look at the error message from OpenSSL (openssl_error_string). /frank Please don’t top post. That makes it hard for others to follow this conversation. Do you get any error messages from OpenSSL? /frank

« previous php.general (#325473) next »