- Internet of Things Programming with JavaScript
- Rubén Oliva Ramos
- 122字
- 2021-04-02 20:31:18
Testing the PHP installation
At this point, we need to test our website with PHP. This can be done by writing a simple PHP script page. If PHP is installed correctly, it will return information about its environment and configuration.
- Go to the next folder, where it's the root document:
cd /var/www/html
- Create a file called
phpinfo.php
.We use the word
nano
so that we can get into the file of the system with the privileges and execute the following command:sudo nano phpinfo.php
- After creating the file, as given in the following screenshot, press CTRL-X, and then save the file:
- In your browser, enter the IP address of your Raspberry Pi, for example,
http://192.168.1.105/phpinfo.php
, and you should see the following screen:
推薦閱讀
- Unity 5.x Game AI Programming Cookbook
- Word 2010中文版完全自學(xué)手冊(cè)
- 新型數(shù)據(jù)庫(kù)系統(tǒng):原理、架構(gòu)與實(shí)踐
- MySQL從入門(mén)到精通(第3版)
- Python醫(yī)學(xué)數(shù)據(jù)分析入門(mén)
- 大數(shù)據(jù)Hadoop 3.X分布式處理實(shí)戰(zhàn)
- 數(shù)據(jù)庫(kù)程序員面試筆試真題庫(kù)
- 數(shù)據(jù)挖掘原理與SPSS Clementine應(yīng)用寶典
- 基于OPAC日志的高校圖書(shū)館用戶(hù)信息需求與檢索行為研究
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- 爬蟲(chóng)實(shí)戰(zhàn):從數(shù)據(jù)到產(chǎn)品
- 聯(lián)動(dòng)Oracle:設(shè)計(jì)思想、架構(gòu)實(shí)現(xiàn)與AWR報(bào)告
- SIEMENS數(shù)控技術(shù)應(yīng)用工程師:SINUMERIK 840D-810D數(shù)控系統(tǒng)功能應(yīng)用與維修調(diào)整教程
- Rust High Performance
- 數(shù)據(jù)庫(kù)原理及應(yīng)用:SQL Server 2016