久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      apache中的php版本該如何切換

      我們打開apache可以看到php有許許多多的版本號,當(dāng)我們不想使用php5的時(shí)候,我們應(yīng)該如何將版本切換到php7呢?下面就由小編為大家介紹切換方法。

      apache中的php版本該如何切換

      1 查詢官網(wǎng)

      打開官網(wǎng),找到FAQhttps://www.appserv.org/en/faq/

      Question

      to switch Version of PHP do?

      Answer

      to the Shortcut -> PHP Version Switch switch PHP Version needed immediately.

      2 改變php版本

      在win10的開始菜單中找到 php version switch,點(diǎn)擊,對話框出現(xiàn)閃動后迅速消失。

      apache中的php版本該如何切換

      3 查看版本

      在瀏覽器地址欄中輸入 localhost/phpinfo.php

      在Core下方PHP version 中的php版本號依舊沒有改變(5.5.*)

      4 參數(shù)修改

      打開 AppServ/php5/extras/swver.php文件,我們發(fā)現(xiàn)

      <?php error_reporting(0); $conf="D:/AppServ/Apache24/conf/httpd.conf"; $php5ini="D:/AppServ/php5/"; $php7ini="D:/AppServ/php7/";...

      下面的代碼是判斷語句等,但是我們可以看到$conf,按照路徑進(jìn)行修改

      打開D:/AppServ/Apache24/conf/httpd.conf

      找到如下代碼 (約在180行)

      LoadModule php5_module D:/AppServ/php5/php5apache2_4.dll<IfModule mod_php5.c>   AddType application/x-httpd-php .php   AddType application/x-httpd-php-source .phps</IfModule><IfModule mod_php7.c>   AddType application/x-httpd-php .php   AddType application/x-httpd-php-source .phps</IfModule>PHPIniDir "D:/AppServ/php5/"

      LoadModule php5_module D:/AppServ/php5/php5apache2_4.dll

      PHPIniDir "D:/AppServ/php5/"

      復(fù)制兩段代碼同時(shí)將原代碼前加#

      將粘貼的代碼中的5修改成7

      重新啟動Appche,運(yùn)行l(wèi)ocalhost/phpinfo.php

      成功!

      apache中的php版本該如何切換

      5 安裝laravel5.5失敗

       The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.

      打開php.ini 修改配置ssl,去掉extension=php_openssl.dll前面的逗號 “;”

      重啟Appche!

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

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