久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos7下如何安裝php7的openssl擴(kuò)展

      openssl作為系統(tǒng)核心擴(kuò)展之一,通過(guò)對(duì)內(nèi)容進(jìn)行私鑰加密和公鑰解密的通過(guò)同的加密方式實(shí)現(xiàn)對(duì)php數(shù)據(jù)安全的加密擴(kuò)展。今天我們就來(lái)學(xué)習(xí)一下centos7下如何安裝php7的openssl擴(kuò)展。

      centos7下如何安裝php7的openssl擴(kuò)展

      今天運(yùn)行將laravel項(xiàng)目放在新的服務(wù)器上,需要安裝一下openssl的拓展,下面是安裝步驟

      1.首先找到php推展的目錄 我的是在‘/usr/local/php-7.1.5/ext’下

      centos7下如何安裝php7的openssl擴(kuò)展

      2.進(jìn)入openssl目錄,將里面的一個(gè)config0.m4修改為config.m4執(zhí)行命令為 “mv config0.m4 config.m4”

      3.進(jìn)入 phpize ‘/usr/local/php/bin/phpize ’

      centos7下如何安裝php7的openssl擴(kuò)展

      4.進(jìn)行配置 ‘./configure –with-openssl –with-php-config=/usr/local/php/bin/php-config’

      centos7下如何安裝php7的openssl擴(kuò)展5.進(jìn)行編譯安裝,成功后會(huì)提示在某個(gè)目錄生成.so文件

      make

      sudo make install

      centos7下如何安裝php7的openssl擴(kuò)展

      6.配置php.ini,添加拓展

      centos7下如何安裝php7的openssl擴(kuò)展

      7.重啟php服務(wù)‘/etc/init.d/php-fpm restart’

      centos7下如何安裝php7的openssl擴(kuò)展

      8.查看安裝成功與否,phpinfo中查找openssl模塊

      centos7下如何安裝php7的openssl擴(kuò)展

      推薦學(xué)習(xí):php視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)