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
PHP

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中通過POST發送JSON

在PHP中通過POST發送J...

這回,我遇到需要通過POST請求發送JSON到API。 剛好利用這次的機會紀錄一下: //API U...

php使用PDO獲取結果的方法

php使用PDO獲取結果的方...

fetch() 式例如下: mixed PDOStatement::fetch([int fetch...

PHP使用array_product()函數求得陣列中的乘積

PHP使用array_pro...

arrayproduct()是PHP中的一個內建函數,可以返回陣列中所有元素的乘積。 例如 $arr...

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