技术交流QQ群:①185473046   ②190706903   ③203744115   网站地图
登录

下次自动登录
现在位置 >首页 > php
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php http://mirrors.sohu.com/php/php-7.2.34.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/releases...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php https://www.php.net/distributions/php-7.1.33.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/re...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php http://mirrors.sohu.com/php/php-7.0.33.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/releases...
阅读全文
0℃
基础教程: Debian 10.9.x安装配置图解教程 https://www.osyunwei.com/archives/11103.html 准备篇: 一、配置防火墙,开启80端口、3306端口 Debian默认没有安装任何防火墙的,我们这里推荐使用iptables防火墙。 1.1安装iptables防火墙 whereis iptables #查看系统是否安装防火墙 apt-get install iptables #运行此命令安装防火墙 mkdir /etc/sysconfig #创建防火墙配置文件存放目录 touch /etc/sysconfig/iptables #创建防火墙配置文件 nano /etc/sysconfig/iptables #编辑添加防火墙规则 # sample configuratio...
阅读全文
0℃
基础教程: Ubuntu Server 20.04.1 LTS安装配置图解教程 https://www.osyunwei.com/archives/10727.html 准备篇: 一、配置防火墙,开启80端口、3306端口 1.1安装iptables防火墙 Ubuntu Server默认没有开启任何防火墙的,但是默认安装了ufw防火墙,我们这里推荐使用iptables防火墙。 ufw status #查看系统自带的ufw防火墙状态 Status: inactive #表示关闭 ufw disable #关闭ufw防火墙,参数enable是开启,我们这里关闭 apt-get remove ufw #卸载ufw apt-get purge ufw #清除ufw依赖包 whereis iptables #查看系统...
阅读全文
0℃
本文档最后更新于2021年5月28日 基础教程: Rocky Linux 8.x系统安装配置图解教程 https://www.osyunwei.com/archives/11453.html 准备篇 一、防火墙配置 Rocky Linux 8.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/...
阅读全文
0℃
2019年11月11日 IIS ⁄ 被围观 34,647次+
准备篇 一、环境说明: 操作系统:Windows Server 2019 PHP版本:php 7.3.11 MySQL版本:MySQL 8.0.18.0 二、相关软件下载: 1、PHP下载地址: https://windows.php.net/downloads/releases/php-7.3.11-nts-Win32-VC15-x64.zip 2、MySQL下载地址: https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-8.0.18.0.msi 3、Visual C++ Redistributable for Visual Studio 2015(安装PHP、MySQL需要此插件) https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e...
阅读全文
0℃
2019年10月25日 LNMP ⁄ 被围观 34,056次+
必会知识: CentOS 8.0.1905系统安装配置图解教程 https://www.osyunwei.com/archives/10256.html 准备篇 一、防火墙配置 CentOS 从7.x开始默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum -y remove firewalld 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防...
阅读全文
0℃
2019年07月01日 Apache ⁄ 被围观 13,401次+
学习本教程须掌握: 1、Linux下指定版本编译安装LAMP https://www.osyunwei.com/archives/9224.html 2、Linux下Apache虚拟主机配置 https://www.osyunwei.com/archives/9232.html 3、CentOS 7.x编译安装Nginx1.10.3+MySQL5.7.16+PHP5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3多版本全能环境 https://www.osyunwei.com/archives/10057.html 安装约定: Apache版本:2.2 Apache安装路径:/usr/local/apache Apache虚拟主机配置文件:/usr/local/apache/conf/vhost php版本:支持php5.2到最新的php7.3 php安装路径:/usr/...
阅读全文
0℃
本文档最后更新于2019年6月29日 前传: 1、CentOS 7.3.1611系统安装配置图解教程 http://www.osyunwei.com/archives/10003.html 2、CentOS服务器初始化设置 http://www.osyunwei.com/archives/9034.html 准备篇 一、防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、...
阅读全文
0℃
2016年12月09日 PHP ⁄ 被围观 16,339次+
说明: 操作系统:CentOS php安装目录:/usr/local/php php.ini配置文件路径:/usr/local/php/etc/php.ini 1、安装cphalcon cd /usr/local/src git clone git://github.com/phalcon/cphalcon.git #需要安装安装git软件包yum install git cd /usr/local/src/cphalcon/build/php5/64bits #选择相应的php版本目录 /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make make install 2、配置php支持cphalcon vi /usr/local/php/etc/php.ini #编辑配置文件,在最后一行添加以...
阅读全文
0℃
2016年12月09日 PHP ⁄ 被围观 21,371次+
说明: 操作系统:CentOS php安装目录:/usr/local/php php.ini配置文件路径:/usr/local/php/etc/php.ini 1、安装swoole cd /usr/local/src wget https://github.com/swoole/swoole-src/archive/v1.9.1-stable.tar.gz tar zxvf v1.9.1-stable.tar.gz cd swoole-src-1.9.1-stable /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make make install 2、配置php支持swoole vi /usr/local/php/etc/php.ini #编辑配置文件,在最后一行添加以下内容 添加 extension=swoole.s...
阅读全文
0℃
2015年09月25日 MongoDB ⁄ 被围观 14,722次+
说明: 操作系统:CentOS 6.X 64位 MongoDB数据库服务器: IP地址:192.168.21.130 Web服务器: IP地址:192.168.21.127 PHP安装路径:/usr/local/php 实现目的: 安装PHP的MongoDB数据库扩展,通过PHP程序连接MongoDB数据库 具体操作: 一、安装PHP的MongoDB数据库扩展(在Web服务器192.168.21.127上操作) 下载地址:http://pecl.php.net/get/mongo-1.6.11.tgz 上传mongo-1.6.11.tgz到/usr/local/src目录 tar zxvf mongo-1.6.11.tgz #解压 cd mongo-1.6.11 /usr/local/php/bin/phpize ./configure --with-php-c...
阅读全文
0℃
2015年09月25日 PHP ⁄ 被围观 26,008次+
问题: 线上运行的lamp服务器,默认yum安装的curl模块只支持http,不支持https。 解决方法: 编译安装curl,重新编译php,使php的curl模块支持https。 具体步骤: 1、下载curl cd /usr/local/src  #进入安装包存放目录 wget http://curl.haxx.se/download/curl-7.44.0.tar.gz  #下载 2、安装curl cd /usr/local/src tar zxvf curl-7.44.0.tar.gz  #解压 cd curl-7.44.0  #进入包安装目录 ./configure --prefix=/usr/local/curl --with-gssapi --enable-tls-srp --with-libmetalink  #配置 make  #编译 make insta...
阅读全文
0℃
2015年09月25日 PHP ⁄ 被围观 22,161次+
具体步骤: 1、安装librdkafka cd /usr/local/src  #进入安装包存放目录 wget https://github.com/edenhill/librdkafka/archive/master.zip  #下载 mv master.zip librdkafka-master.zip  #修改包名 unzip librdkafka-master.zip  #解压 cd librdkafka-master  #进入安装文件夹 ./configure   #配置 make  #编译 make install  #安装 2、安装phpkafka cd /usr/local/src  #进入安装包存放目录 wget https://github.com/EVODelavega/phpkafka/archive/master.zip  #下载 mv master.zip phpkafka-master.zip  #修改...
阅读全文
0℃
2015年08月24日 LAMP ⁄ 被围观 19,400次+
说明: 操作系统:CentOS 6.5 64位 需求: 编译安装LAMP运行环境 各软件版本如下: MySQL:mysql-5.1.73 Apache:httpd-2.2.31 PHP:php-5.2.17 具体操作: 准备篇 一、配置防火墙,开启80端口、3306端口 vi /etc/sysconfig/iptables #编辑防火墙配置文件 # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCE...
阅读全文
0℃
2015年08月02日 PHP ⁄ 被围观 17,114次+
问题: 线上运行的lamp服务器,php不支持iconv函数。 解决方法: 安装libiconv,重新编译php,使php支持iconv函数,实现utf-8和gb2312编码的转换。 具体步骤: 1、下载libiconv cd /usr/local/src wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz #下载 2、安装libiconv cd /usr/local/src tar zxvf libiconv-1.14.tar.gz #解压 cd libiconv-1.14 #进入安装目录 ./configure --prefix=/usr/local/libiconv #配置 make #编译 make install #安装 3、重新编译php 查找系统之前的php编译参数 cd /us...
阅读全文


Copyright© 2011-2024 系统运维 All rights reserved
版权声明:本站所有文章均为作者原创内容,如需转载,请注明出处及原文链接
陕ICP备11001040号-3