服务器
文章平均质量分 61
崖边树
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Centos php5.6升级7.2
1.停止相关服务# service php-fpm stop2.删除已经安装的 PHP 相关包# yum remove php*3.安装新版本 PHP解压# tar zxvf php-7.1.8.tar.gz# cd php-7.1.8配置# ./configure --prefix=/usr/local/php--with-curl --with-f...原创 2019-10-23 16:38:57 · 537 阅读 · 0 评论 -
Nginx 下部署ThinkPHP项目的办法
通用解决方法的配置如下:server { ... location / { index index.htm index.html index.php; #访问路径的文件不存在则重写URL转交给ThinkPHP处理 if (!-e $request_filename) { rewrite ^/(.*)$转载 2017-05-13 21:20:06 · 534 阅读 · 0 评论 -
nginx 搭建https服务器
安装在之前的文章中已经写过了。但是之前的安装出现了错误导致https没有安装成功。所以这里提一下大致的流程以及问题:openssl :version命令用来打印版本以及openssl其他各种信息。用法:[cpp] view plain copyopenssl version [-a] [-v] [-b] [-o] [-f] [-p]原创 2017-06-05 11:58:23 · 389 阅读 · 0 评论 -
Linux下安装PHP的GD支持库
thinkphp 在使用缩略图的时候需要使用到GD库安装步骤如下:在安装 gd 前需要安装前置库 : freetype ,jpegsrc,libpng。1. freetypecd freetype-2.4.0./configure --prefix=/usr/local/freetype && make && make install2.转载 2017-06-29 14:05:17 · 531 阅读 · 0 评论 -
linux php扩展curl的安装
在程序代码出现了 Fatal error: Call to undefined function curl_init()经过查找,发现了是php在安装时配置configure没有扩展curl插件如果安装完成以后如图所示:正常情况我们安装php不可能知道要安装多少软件包,多少肯定是因需而定。所以查下找了下发现linux可以在已经安装的Php上增加其他软件包的扩展以curl转载 2017-06-26 22:42:12 · 320 阅读 · 0 评论 -
PHP动态编译出现错误的解决方法
1.在执行/usr/local/webserver/php/bin/phpize时出现错误:Configuring for:PHP Api Version: 20041225Zend Module Api No: 20060613Zend Extension Api No: 220060519Cannot find autoconf. Please转载 2017-06-26 23:14:04 · 522 阅读 · 0 评论
分享