检查安装

如果您已成功安装 Zephir, 则可以在控制台中执行以下命令:

  1. zephir list

如果一切正常, 您应该看到以下帮助 (或非常相似的内容):

  1. _____ __ _
  2. /__ / ___ ____ / /_ (_)____
  3. / / / _ \/ __ \/ __ \/ / ___/
  4. / /__/ __/ /_/ / / / / / /
  5. /____/\___/ .___/_/ /_/_/_/
  6. /_/
  7. Zephir 0.11.12 by Andres Gutierrez and Serghei Iakovlev (source)
  8. Usage:
  9. command [options] [arguments]
  10. Options:
  11. -h, --help Display this help message
  12. -q, --quiet Do not output any message
  13. -V, --version Display this application version
  14. --ansi Force ANSI output
  15. --no-ansi Disable ANSI output
  16. -n, --no-interaction Do not ask any interactive question
  17. --dumpversion Print the Zephir version and don't do anything else
  18. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  19. Available commands:
  20. api Generates a HTML API based on the classes exposed in the extension
  21. build Generates/Compiles/Installs a Zephir extension
  22. clean Cleans any object files created by the extension
  23. compile Compile a Zephir extension
  24. fullclean Cleans any object files created by the extension (including files generated by phpize)
  25. generate Generates C code from the Zephir code without compiling it
  26. help Displays help for a command
  27. init Initializes a Zephir extension
  28. install Installs the extension in the extension directory (may require root password)
  29. list Lists commands
  30. stubs Generates stubs that can be used in a PHP IDE

If something went wrong, please return back to the installation page.