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 運算次方pow() 函数

PHP 運算次方pow() ...

使用pow() 函数返回 x 的 y 次方。 例如: BMI = 體重(公斤)除以身高(公尺)的平方...

.htaccess設定網站預設首頁次序

.htaccess設定網站預...

一般php空間預設設定是index.php為首頁。 所以如果網站用index.php做首頁,就不需要...

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

要如何知道ajax執行失敗原...

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

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