1. 程式人生 > >centos7手動安裝PHP-5.6.33

centos7手動安裝PHP-5.6.33

1,PHP官網下載php-5.6.33.tar.bz2

2,解壓到/usr/local/下

3,進入目錄執行:./configure

遇到錯誤:checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.

解決方法:yum install libxml2-devel

4,   ./configure

5,    make&&make install

6,  設定環境變數vim /etc/profile

加入

PATH=$PATH:/usr/local/php/bin export PATH

7,執行source /etc/profile

相關推薦

centos7手動安裝PHP-5.6.33

1,PHP官網下載php-5.6.33.tar.bz2 2,解壓到/usr/local/下 3,進入目錄執行:./configure 遇到錯誤:checking libxml2 install dir... no checking for xml2-config path.

Centos7 安裝php-5.6.36

libc libjpeg ring 安裝php dbo sbin .tar.gz free curl 相關依賴包的檢查與安裝 rpm -qa zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libico

centos6.5 安裝php-5.6.31

openss tag ack bz2 ttf 重啟 php-fpm timezone bsp 1 從PHP官網下載所需要的PHP版本 下載地址: http://php.net/get/php-5.6.31.tar.gz/from/a/mirror 把下載好的文件

php編譯安裝php-5.6

編譯 pac bmc rpath make pcntl mkdir bic serve #php編譯安裝php-5.6 ,Nginx+php使用 #!/bin/sh #php編譯安裝php-5.6 ,Nginx+php使用 #定義函數,默認綠色輸出 ‘#‘ 開頭為紅

Ubuntu 16.04原始碼編譯安裝PHP 5.6.29

2、解壓 tar -zxvf php-5.6.29.tar.gz 3、配置 ./configure –prefix=/usr/local/php –with-apxs2=/u

Linux 下編譯安裝 PHP 5.6

系統環境: CentOS 6.5 / 7.0 x86_64Fedora 20 x86_64 下載 PHP 原始碼包 wget http://cn2.php.net/distributions/php-5.6.0.tar.xzxz -d php-5.6.0.tar.xztar xf php-5.6.0.ta

Centos下Yum安裝PHP 5.55.6、7.0

mbstring eas common mysql 編譯安裝 test .rpm mysq cli Centos系統自帶的php版本很低,如果我們需要使用高版本的php,可以不用編譯安裝,直接用yum安裝會非常省時省力。 1.檢查當前安裝的PHP包yum list inst

轉的 CentOS 6.9上安裝MySQL 5.6.37 (我用的centos7

inux ice x86_64 group ted repo update reads shu 記錄下在CentOS 6.9環境安裝MySQL 5.6.37的過程,供大家參考。 1、準備數據存放的文件系統新建一個邏輯卷,並將其掛載至特定目錄即可。這裏不再給出過程。這裏假設其

Centos7.4下安裝mysql-5.6.41

mys 但是 啟動mysql ann node 連接 rpm owin pack Centos7.4下安裝mysql-5.6.41二進制包 1、下載mkdir /data/sqlcd /data/sql wget https://cdn.mysql.com//Downloa

52、基於httpd-2.4.37、mysql-5.7.24、php-5.6.38原始碼安裝LAMP

1、安裝準備 firewall-cmd --state systemctl stop firewalld firewall-cmd --state systemctl disable firewalld vim /etc/selinux/config  SELINUX=disable

在Windows7 下如何給PHP 5.6.X 安裝 memcached 擴充套件?

看到標題的童鞋,讓你們失望了,這個問題我也沒有解決。 本地PHP環境如下: 關鍵引數: 1.PHP Version 5.6.15 2.Architecture    :x86 3.PHP Extension Build    :API2

centos7安裝PyGreSQL-5.0.6

在centos上或者其它liunx系列下安裝不管我是通過pip install PyGreSQL==5.0.6或者手動下載PyGreSQL安裝包執行python setup.py install安裝 PyGreSQL-5.0.6的時候總會遇到各種各樣的坑,各種錯誤,錯誤如下:

用zip安裝包在win 10安裝mysql community server 5.6.33(64bit)的過程

原來用MSI方式安裝了MySql 5.7版,因需要(貌似對vs2015+mvc+mysql+ef不太支援),御載後重裝5.6.33版(64bit),並希望將資料庫資料檔案儲存目錄設定為d:\mysqldata。作業系統是win10(64bit)。 1)下載zip 開啟htt

PHP 5.6.39 安裝、配置、日誌配置詳解

PHP軟體版本5.6.39 一、PHP的編譯安裝管理:① : php編譯安裝,php的編譯安裝依賴的庫比較多,編譯安裝會稍微難一點yum -y install epel-release [安裝epel源]yum -y install gcc gcc-c++ make pcre pcre-devel zlib

php-5.6.31安裝

cd /usr/local/src/wget http://cn2.php.net/distributions/php-5.6.31.tar.bz2 tar jxf php-5.6.31.tar.bz2 cd php-5.6.31 ./configure --prefix

Windows下手動搭建Apache 2.4.25+PHP 5.6.30+MySQL執行環境

雖然 Windows 平臺下有許多免費並且很優秀的PHP執行環境一鍵安裝包(例如:WAMP、AppServ、XAMPP、phpStudy),但是對於 PHP 新手來說,還是很有必要學會手動搭建PHP執行環境的。由於我當前的系統環境為 Windows 10 64位,所以我

centos7離線手動安裝mysql-5.7

解除安裝自帶的資料庫 yum -y remove mariadb-libs.x86_64 - 解壓安裝mysql tar -xvf mysql-5.7.16-1.el7.x86_64.rpm-bundle.tar rpm -ivh

源碼編譯安裝lnmp環境(nginx-1.14.2 + mysql-5.6.43 + php-5.6.30 )------踩了無數坑,重裝了十幾次服務器才會的,不容易啊!

uri org ucc height lnmp環境 loading lin num inf 安裝順序 php --- nginx -- mysql 安裝php-5.6.30: 1 環境準備 yum install gcc bison bison-devel zlib-dev

藉助URLOS快速安裝Apache-PHP-5.6網站環境

環境需求 最低硬體配置:1核CPU,1G記憶體(1+1)提示:如果你的應用較多,而主機節點的硬體配置較低,建議在部署節點時開通虛

CentOS 7 安裝MySQL 5.6遇到問題及解決方案

linux localhost not ces name 解決 info target case centos下安裝mysql真的沒有想象中那麽容易,在這裏我總結一下遇到的問題 1. ERROR 2002 (HY000): Can’t connect to loca