
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 · 1366 阅读 · 0 评论 -
CentOS7 安装PHP7.0
在centos7通过yum安装PHP7,首先在终端运行: 需要先安装epel-release。1.安装epel-release 通过命令: yum -y install epel-release 成功安装。 2.安装PHP7 CentOS/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 · 926 阅读 · 0 评论 -
用PHP-Beast加密你的PHP源代码
PHP-Beast是一个PHP源码加密的模块,其使用DES算法加密,用户可以自定义加密的key来加密源代码。 github:https://github.com/liexusong/php-beast 1. PHP-Beast的安装 $ wget https://github.com/liexusong/php-beast/archive/master.zip $ unzip mas...原创 2019-09-06 16:37:32 · 588 阅读 · 0 评论