Loading...

關掉phpinfo()

Temperature: 0 °C

ChungChung
author_tools


關掉phpinfo()
配置php環境的時候往往都會寫

phpinfo();

這個函數來測試php或相關套件環境是否安裝成功。

但是這個函數也將會給系統帶來資訊安全上的疑慮,那麼,們如何讓關掉這個函數?

下面介紹一種方法: 修改php.ini文件,在裡面找到如下行:

關掉phpinfo()
更改為:
disble_functions = phpinfo

儲存後,重新啟動 apache

以上紀錄。

台北市內湖區江南街71巷75弄 Go

https://innstory.com/story-關掉phpinfo-1448
寫程式筆記

Prev
 喃喃

Next
前瞻計畫查詢系統 

Nearby Attractions

台北市內湖區江南街71巷75弄-Nearby Attractions

  • 三井物產株式會社舊廈 Go
  • 原臺北北警察署 Go
  • 國立臺灣大學日式宿舍─馬廷英... Go
  • 臺北第一高女 Go
  • 芳蘭大厝 Go
  • 臺北酒廠 Go

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

在PHP裡面如何做到基本的SQL injection防禦?

在PHP裡面如何做到基本的S...

資訊安全一直是很頭痛的問題....我一直以來也在尋找最好的方式... 但在尋找的過程中...至少也得...

Linux底下Apache啟動、停止、重啟指令

Linux底下Apache啟...

a5 如果apache安裝成為linux的服務的話,可以用以下命令操作: service httpd...

.sql檔過大無法匯入phpMyAdmin

.sql檔過大無法匯入php...

修改phpMyAdmin資料夾中的config.inc.php檔。 打開後找到下列兩行或自行加入: ...

Recommended reading

Other stories happened at this address

When caterpillar grow up become butterfly

When caterpill...

When caterpillar grow up become butterfly

我說大爺啊~你可以再爽一點沒關係....

我說大爺啊~你可以再爽一點沒...

我說大爺啊~你可以再爽一點沒關係....

這是~菠蘿麵包.....

這是~菠蘿麵包.....

我記得我買的是菠蘿麵包..... 怎麼被U吃過後,突然覺得這麵包很可憐啊~~~ 這傢伙只給我拔下那金...

5U的第1張生日卡片

5U的第1張生日卡片

s U的第張生日卡片,謝謝威廷跟瓊慧的用心。 U也謝謝威廷姊夫跟瓊慧姊姊\(^o^)/ 感覺這週是U...

5U卡住記

5U卡住記

s 就說了到了愛鑽洞的年紀~ 那麼大的空間給他爬,就偏偏要鑽進椅子底下⊙⊙ 然後卡住出不來才在那邊叫...

笑起來,跟Mandy小時候一模一樣。

笑起來,跟Mandy小時候一...

笑起來,跟Mandy小時候一模一樣。

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