- CouchDB and PHP Web Development Beginner’s Guide
- Tim Juravich
- 132字
- 2021-08-13 18:22:50
Time for action — checking your PHP version
We are going to check that PHP is working on your computer by accessing it with Terminal.
- Open Terminal.
- Run the following command for PHP to return its version:
php -v
- Terminal will respond with something similar to the following:
What just happened?
We used Terminal to ensure that we had PHP running correctly on our machine. Not only did we check to make sure that PHP was accessible, but we also asked for its version. Your version may differ slightly from mine, but it only matters that your version is PHP 5.3 or higher.
Note
If your version is lower than PHP 5.3 or you were unable to get PHP to respond, you can install or upgrade by looking at PHP's manual: http://php.net/manual/en/install.macosx.php.
推薦閱讀
- SQL Server 2016從入門到精通(視頻教學超值版)
- 造個小程序:與微信一起干件正經事兒
- Hands-On Image Processing with Python
- Cassandra Data Modeling and Analysis
- Julia Cookbook
- Learning Python by Building Games
- Scala編程實戰(原書第2版)
- ExtJS高級程序設計
- jQuery炫酷應用實例集錦
- C指針原理揭秘:基于底層實現機制
- 精益軟件開發管理之道
- LibGDX Game Development By Example
- Mastering High Performance with Kotlin
- Python 3.8編程快速入門
- FORTRAN程序設計權威指南