linux
qq_38879367
这个作者很懒,什么都没留下…
展开
-
linux服务器配置
Nginx部署: yum install nginx 设置开机自启 chkconfig --levels 235 nginx onPhp部署: rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm 安装基本拓展 yum install php55w php55w-bcmath php55w-cli php...原创 2018-07-11 17:36:40 · 158 阅读 · 0 评论 -
简单的cli
<?phpClass CliResponse { const COLS = 70; private $data = []; //带有Linux终端格式,用于屏幕输出 private $text = []; //不带格式纯文本,用于导出 private $prefix = 'DATETIME'; private $startTime; ...原创 2018-10-09 12:05:48 · 100 阅读 · 0 评论 -
关于centOS 7 64位系统
1、yum使用失败 检查是否使用 root 账号登陆; 进入配置cd /etc/sysconfig/network-scripts ,viifcfg-ens33 ,把“ONBOOT”的值修改为"yes" ,保存,重启系统即可(reboot)2、安装 PHP环境 Apache安装: yum -y install httpd 回车...原创 2019-03-22 09:43:02 · 779 阅读 · 0 评论 -
关于curl_setopt() 问题
项目中如果遇到Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in XXX 提示 怎么办?解决办法 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url);...原创 2019-03-29 11:38:05 · 709 阅读 · 0 评论