Loading...

Linux下查詢已安裝的PHP版本

Temperature: 0 °C

Mark ChangMark Chang
紀錄PHP在Linux底下版本查詢方式
以Ubuntu為例
root@ubuntu:~# php –version

執行後輸出以下畫面:


除了用 php 指令外,如果 PHP 是用系統的套件管理工具安裝,也可以用套件管理工具查詢:
以CentOS為例
# yum info php


以上紀錄。
https://innstory.com/story-Linux下查詢已安裝的PHP版本-2329

Prev
 php使用PDO獲取結果的方法

Next
發現茄十二星瓢蟲 

About the Author

Mark Chang

離不開電腦的宅男

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

centos查看對外開放了那些port的指令

centos查看對外開放了那些port的指令

輸入指令 [root@localhost ~]# iptables L n 得到以下結...

要如何知道ajax執行失敗原因?

要如何知道ajax執行失敗原因?

只要在error的function 更改為以下寫法即可: error:...

修改php設定

修改php設定

pexelsphoto 進入系統 用文字編輯軟體打開php.ini改變以下設定...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format