![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
年少無知
这个作者很懒,什么都没留下…
展开
-
php exec返回详细报错信息
php exec执行后返回一个 数字,0表示执行成功, 如果是非0,则说明有错误发生,但通过这个数字经常无法得到详细错误信息。可以通过在命令后加2>&1,这样就会将错误详细信息赋给$output。exec('ls 2>&1', $output, $return_val); var_dump($output); 作者:Tsun424链接:https://www.jianshu.com/p/d12d642b2f24...转载 2020-09-09 10:31:15 · 1154 阅读 · 0 评论 -
CentOS7 安装PHP7.0
在centos7通过yum安装PHP7,首先在终端运行:需要先安装epel-release。1.安装epel-release通过命令:yum -y install epel-release成功安装。2.安装PHP7CentOS/RHEL 7.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.we...转载 2020-08-31 18:45:35 · 831 阅读 · 0 评论 -
用PHP-Beast加密你的PHP源代码
PHP-Beast是一个PHP源码加密的模块,其使用DES算法加密,用户可以自定义加密的key来加密源代码。github:https://github.com/liexusong/php-beast1. PHP-Beast的安装$ wget https://github.com/liexusong/php-beast/archive/master.zip$ unzip mas...原创 2019-09-06 16:37:32 · 495 阅读 · 0 评论