- 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:
推薦閱讀
- Spark快速大數據分析(第2版)
- 工業大數據分析算法實戰
- 計算機應用基礎教程上機指導與習題集(微課版)
- 高維數據分析預處理技術
- 數據科學工程實踐:用戶行為分析與建模、A/B實驗、SQLFlow
- 科研統計思維與方法:SPSS實戰
- TextMate How-to
- 實用數據結構
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- 數據修復技術與典型實例實戰詳解(第2版)
- Visual FoxPro數據庫技術基礎
- 機器學習:實用案例解析
- SQL Server 2008寶典(第2版)
- 大數據分析:R基礎及應用
- Cognitive Computing with IBM Watson