- 检查安装
检查安装
如果您已成功安装 Zephir, 则可以在控制台中执行以下命令:
zephir 帮助
如果一切正常, 您应该看到以下帮助 (或非常相似的内容):
_____ __ _
/__ / ___ ____ / /_ (_)____
/ / / _ \/ __ \/ __ \/ / ___/
/ /__/ __/ /_/ / / / / / /
/____/\___/ .___/_/ /_/_/_/
/_/
Zephir 0.12.2 by Andres Gutierrez and Serghei Iakovlev (4ab69bd9)
Usage:
command [options] [arguments]
Options:
--dumpversion Print the version of the compiler and don't do anything else
-h, --help Print this help message
--no-ansi Disable ANSI output
-V, --version Print compiler version information and quit
Available commands:
api Generates a HTML API based on the classes exposed in the extension
build Generates/Compiles/Installs a Zephir extension
clean Cleans any object files created by the extension
compile Compile a Zephir extension
fullclean Cleans any object files created by the extension (including files generated by phpize)
generate Generates C code from the Zephir code without compiling it
help Displays help for a command
init Initializes a Zephir extension
install Installs the extension in the extension directory (may require root password)
stubs Generates stubs that can be used in a PHP IDE
If something went wrong, please return back to the installation page.如果出现问题, 请返回到 installation 页面。