php7.1.4不行php7.1.28就可以
结论: 升级php版本
php7.1.4不行php7.1.28就可以
结论: 升级php版本
configure: error: jpeglib.h not found.
yum -y install libjpeg-devel
configure: error: xpm.h not found.
yum install libXpm-devel -y
configure: error: freetype-config not found.
yum install freetype-devel -y
configure: error: Unable to locate gmp.h
yum install gmp-devel -y
php 7.4 GD全开
./configure –enable-fpm –with-pdo-mysql –enable-mbstring –with-mysqli –with-openssl –with-zlib –enable-bcmath –enable-gd –with-curl –enable-exif –with-zip –with-pear –with-jpeg –with-webp –with-freetype –with-xpm –enable-gd-jis-conv
因为启用了 ConvertEmptyStringsToNull 这个中间件导致的关闭即可
(1/1) Google_Service_Exception
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "projectNotLinked",
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
],
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
}
On my PHP5 build, the limit is 117 characters (936 bits, strange number). That’s because public key encryption is CPU intensive, and meant to be used on short values. The idea is to use this function to encrypt a secret key that is in turn used to encrypt data using a more efficient algorithm, such as RC4 or TripleDES.openssl_public_encrypt
FORBIDDEN/12/index read-only / allow delete (api)
官方解决方法:
curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
_all 可以改为自己的索引名称,也可以直接执行
curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
ps auxf|grep www_sockets | grep -v grep | awk ‘{print $6}’ | awk ‘{sum+=$1} END {print “Memory =”, sum/1024/1024, “GB”}’
根据需求定制 红色部分是你要修改的部分
项目地址:
https://github.com/sn01615/ios-iap-php
安装:
composer require sn01615/ios-iap-php
使用:
use sn01615\iap\ios\Verify; include "../vendor/autoload.php"; $cc = new Verify(); $receipt = ".."; // 凭据 $cc->endpoint(true);// 可选切换到沙盒环境 $vv = $cc->query($receipt); // 打印结果 var_dump($vv);
[root@local2 ext]# ./ext_skel --extname=Hello
Creating directory Hello
Creating basic files: config.m4 config.w32 .gitignore Hello.c php_Hello.h CREDITS EXPERIMENTAL tests/001.phpt Hello.php [done].
To use your new extension, you will have to execute the following steps:
1. $ cd ..
2. $ vi ext/Hello/config.m4
3. $ ./buildconf
4. $ ./configure --[with|enable]-Hello
5. $ make
6. $ ./sapi/cli/php -f ext/Hello/Hello.php
7. $ vi ext/Hello/Hello.c
8. $ make
Repeat steps 3-6 until you are satisfied with ext/Hello/config.m4 and
step 6 confirms that your module is compiled into PHP. Then, start writing
code and repeat the last two steps as often as necessary.
[root@local2 ext]#
# phpize
# ./configure --enable-Hello
# make
# php -i | grep Hello
# php Hello.php