Loading...

Linux下查詢已安裝的PHP版本

Temperature: 0 °C

Mark ChangMark Chang
author_tools

紀錄PHP在Linux底下版本查詢方式
以Ubuntu為例

root@ubuntu:~# php –version

執行後輸出以下畫面:

Linux下查詢已安裝的PHP版本
除了用 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

PHP如何設定HTTP安全標頭?

PHP如何設定HTTP安全標頭?

PHP該如何將以下安全標頭添加到網站? XFrameOptions  防止點擊劫持攻擊...

javascript如何取得檔案的副檔名?

javascript如何取得檔案的副檔名?

var filenamea = "aaa"; alert(...

php檢查陣列中大於0的值

php檢查陣列中大於0的值

假設有一個陣列$a $a = array(,,,,,,); 取得大於的數值有幾個 $...

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