久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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)站

      centos找不到php命令怎么辦

      centos找不到php命令的方法:首先執(zhí)行“export PATH=$PATH:/usr/local/php/bin”;然后執(zhí)行“echo $PATH”即可。

      centos找不到php命令怎么辦

      本文操作環(huán)境:centOS6.8系統(tǒng)、PHP7.1版,DELL G3電腦

      centos找不到php命令怎么辦?

      -bash: php: command not found 命令找不到

      這個(gè)問題其實(shí)很簡(jiǎn)單,如果你在終端輸入一個(gè)命令,而系統(tǒng)提示你說命令沒有找到(Command not found)的話,要么是因?yàn)槟銢]有裝相應(yīng)的軟件包,要么就是因?yàn)槁窂皆O(shè)置的問題。如果是因?yàn)檐浖膯栴},那沒有別的好說的,安裝相應(yīng)的軟件包就好了。而另外一種情況,則需要對(duì)用戶的路徑進(jìn)行設(shè)置。

      -bash: ls: command not found 或者 -bash: ll: command not found

      原因:在設(shè)置環(huán)境變量時(shí),編輯profile文件沒有寫正確,導(dǎo)致在命令行下 ls等命令不能夠識(shí)別。

      解決方案:

      export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin bash: PHP: command not found

      解決:

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

      然后,再 echo $PATH 看看,就看見了。

      usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/php/bin

      這時(shí)候,你可以在系統(tǒng)的任意目錄直接敲入php -i 都可以執(zhí)行了。

      -bash:unzip: command not found

      -bash: wget: command not found的兩種解決方法

      一般Linux最小化安裝時(shí),wget不會(huì)默認(rèn)被安裝。

      可以通過以下兩種方法來安裝:

      1、rpm 安裝

      rpm 下載源地址:http://mirrors.163.com/centos/6.2/os/x86_64/Packages/

      下載wget的RPM包:http://mirrors.163.com/centos/6.2/os/x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm

      rpm ivh wget-1.12-1.4.el6.x86_64.rpm 安裝即可。

      2、yum安裝

      yum -y install wget

      80端口提示已經(jīng)被占用

      httpd not running, trying to start (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs

      解決:

      # netstat -lnp|grep :80 tcp 0 0 :::80 :::* LISTEN 2184/httpd 殺掉服務(wù) # killall -9 httpd 重啟 # /etc/init.d/httpd start

      推薦學(xué)習(xí):《PHP視頻教程》

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