php-config.1.in 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .TH @program_prefix@php\-config 1 "2021" "The PHP Group" "Scripting Language"
  2. .SH NAME
  3. @program_prefix@php\-config \- get information about PHP configuration and compile options
  4. .SH SYNOPSIS
  5. .B @program_prefix@php\-config
  6. [options]
  7. .LP
  8. .SH DESCRIPTION
  9. .B @program_prefix@php\-config
  10. is a simple shell script for obtaining information about installed PHP configuration.
  11. .SH OPTIONS
  12. .TP 15
  13. .PD 0
  14. .B \-\-prefix
  15. Directory prefix where PHP is installed, e.g. /usr/local
  16. .TP
  17. .PD 0
  18. .B \-\-includes
  19. List of \-I options with all include files
  20. .TP
  21. .PD 0
  22. .B \-\-ldflags
  23. LD Flags which PHP was compiled with
  24. .TP
  25. .PD 0
  26. .B \-\-libs
  27. Extra libraries which PHP was compiled with
  28. .TP
  29. .PD 0
  30. .B \-\-man-dir
  31. The directory prefix where the manpages is installed
  32. .TP
  33. .PD 0
  34. .B \-\-extension-dir
  35. Directory where extensions are searched by default
  36. .TP
  37. .PD 0
  38. .B \-\-include-dir
  39. Directory prefix where header files are installed by default
  40. .TP
  41. .PD 0
  42. .B \-\-php-binary
  43. Full path to php CLI or CGI binary
  44. .TP
  45. .PD 0
  46. .B \-\-php-sapis
  47. Show all SAPI modules available
  48. .TP
  49. .PD 0
  50. .B \-\-configure-options
  51. Configure options to recreate configuration of current PHP installation
  52. .TP
  53. .PD 0
  54. .B \-\-version
  55. PHP version
  56. .TP
  57. .PD 0
  58. .B \-\-vernum
  59. PHP version as integer
  60. .RS
  61. .PD 1
  62. .P
  63. .SH SEE ALSO
  64. .BR @program_prefix@php (1)
  65. .SH VERSION INFORMATION
  66. This manpage describes \fBphp\fP, version @PHP_VERSION@.
  67. .SH COPYRIGHT
  68. Copyright \(co The PHP Group
  69. .LP
  70. This source file is subject to version 3.01 of the PHP license,
  71. that is bundled with this package in the file LICENSE, and is
  72. available through the world-wide-web at the following url:
  73. .PD 0
  74. .P
  75. .B https://www.php.net/license/3_01.txt
  76. .PD 1
  77. .P
  78. If you did not receive a copy of the PHP license and are unable to
  79. obtain it through the world-wide-web, please send a note to
  80. .B license@php.net
  81. so we can mail you a copy immediately.