php项目搭建问题记录

1

环境:

php7.2 ,nginx

错误:

require_once(): Failed opening required '../fun/extend.php' (include_path='.:/www/server/php/72/lib/php') in #####/index.php on line 8" while reading response header from upstream

解决:


(图片保存在github)

2

php文件加密问题:

sg_load()函数

https://www.cnblogs.com/tangxuliang/p/9401122.html(解决方案地址)

安装sourceguardian加密php扩展:
https://www.sourceguardian.com/loaders/download.php