linux
coolpan123
多年PHP lnmp lamp 开发经验,B/S管理软件开经验。主要工作范围:网站全新开发,微信开发,网站改版二次开发,功能改进增加等
展开
-
linux 时间同步
1. 登录机器使用date命令查看。 2. 执行如下命令: #echo -e "0.asia.pool.ntp.org\n1.asia.pool.ntp.org\n2.asia.pool.ntp.org\n3.asia.pool.ntp.org\n210.72.145.44">/etc/ntp/step-tickers #ntpdate -u 0.asia.pool.ntp.org转载 2016-01-11 10:22:45 · 240 阅读 · 0 评论 -
开发PHP扩展步骤
ubuntu14.04系统 用eclipse 安装c/c++ php develop tools 语言开发插件 安装三个开发工具 apt-get install gcc make autoconfig 下载源码 导入到eclpise 执行/home/workplace/php-src/ext/ext_skel --extname=test 生成新的扩展原创 2016-01-11 14:39:30 · 309 阅读 · 0 评论 -
Ubuntu nginx php7 源码编译安装
在Ubuntu 16.04下源码编译安装PHP7 过程记录。 报错常见问题处理https://phperzh.com/articles/1789 nginx 安装 ./configure--prefix=/opt/nginx--with-http_ssl_module--with-pcre 一、下载PHP7的最新版源码 php7.0.9 下载地址 http://p...转载 2017-01-06 10:29:06 · 1398 阅读 · 0 评论 -
cakephp cake shell 报错解决方法
vim Console/cake :set fileformat=unix原创 2017-04-06 16:25:18 · 631 阅读 · 0 评论 -
gitlab 仓库(repositories) 迁移问题 gitlab修改默认redis密码
1、修改 /opt/gitlab/embedded/service/gitlab-shell/config.yml repos_path 指向你的新的迁移地址 修改 /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml path 和repos_path 指向你的新的迁移地址2、将你原有的物理文件移动到你要迁移...原创 2017-06-05 15:13:43 · 3499 阅读 · 0 评论 -
php gd 安装支持jpeg
php 自带的gd库不支持jpeg Fatal error: Call to undefined function imagecreatefromjpeg() tips : 如果是第一次安装,不安装GD库 ;如果是原来装了GD库 要重新编译安装PHP去掉GD库。实现gd库以扩展方法安装让gd中有jpeg功能: 在源码Php ext 目录中 第一步安装jpeglib.s原创 2017-06-08 14:44:28 · 1597 阅读 · 0 评论