這篇文章主要講解了“centos6.5安裝php5.6.0的步驟”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“centos6.5安裝php5.6.0的步驟”吧!
讓客戶滿意是我們工作的目標,不斷超越客戶的期望值來自于我們對這個行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價值的長期合作伙伴,公司提供的服務(wù)項目有:空間域名、網(wǎng)頁空間、營銷軟件、網(wǎng)站建設(shè)、大田網(wǎng)站維護、網(wǎng)站推廣。
安裝支持軟件包
yum install -y openssl* libxml2* bzip* libcurl*
安裝過程:
./configure \
--prefix=/usr/local/php \
--with-openssl \
--enable-fpm \
--enable-sockets \
--enable-sysvshm \
--enable-mbstring \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-libxml-dir=/usr \
--enable-xml \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
--with-bz2 \
--with-curl
其它選項:
--with-mhash \
--with-mcrypt \
--with-MySQLi=/usr/bin/mysql_config \
--with-mysql=/usr/include/mysql \
make
make install
cp init.d.php-fpm /etc/init.d/php-fpm
chmod +x /etc/init.d/php-fpm
chkconfig --add php-fpm
chkconfig php-fpm on
cp /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.conf
service php-fpm start
vim /usr/local/php/etc/php-fpm.conf
listen.allowed_clients = 192.168.100.160
listen = 192.168.100.161:9000
service php-fpm restart
感謝各位的閱讀,以上就是“centos6.5安裝php5.6.0的步驟”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對centos6.5安裝php5.6.0的步驟這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!
本文標題:centos6.5安裝php5.6.0的步驟
分享地址:http://sd-ha.com/article38/popisp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護、靜態(tài)網(wǎng)站、網(wǎng)站建設(shè)、小程序開發(fā)、關(guān)鍵詞優(yōu)化、品牌網(wǎng)站制作
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)