Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

This commit was manufactured by cvs2svn to create tag 'BEFORE_RENAMING'.

  • Loading branch information...
commit 5bc46bd808cdb47a06c9c9063d287f99201c0419 1 parent 66ec203
SVN Migration authored

Showing 2,267 changed files with 0 additions and 76,997 deletions. Show diff stats Hide diff stats

  1. +0 294 CODING_STANDARDS
  2. +0 2  CREDITS
  3. +0 27,374 ChangeLog
  4. BIN  ChangeLog.1999.gz
  5. BIN  ChangeLog.2000.gz
  6. BIN  ChangeLog.2001.gz
  7. +0 497 EXTENSIONS
  8. +0 417 INSTALL
  9. +0 68 LICENSE
  10. +0 18 Makefile.frag
  11. +0 68 Makefile.global
  12. +0 2,416 NEWS
  13. +0 115 README.CVS-RULES
  14. +0 39 README.EXTENSIONS
  15. +0 189 README.EXT_SKEL
  16. +0 127 README.PARAMETER_PARSING_API
  17. +0 57 README.QNX
  18. +0 155 README.SELF-CONTAINED-EXTENSIONS
  19. +0 373 README.STREAMS
  20. +0 126 README.SUBMITTING_PATCH
  21. +0 307 README.TESTING
  22. +0 123 README.UNIX-BUILD-SYSTEM
  23. +0 126 README.Zeus
  24. +0 176 TODO
  25. +0 3  TODO.BUILDv5
  26. +0 26 TSRM/LICENSE
  27. +0 6 TSRM/Makefile.am
  28. +0 2  TSRM/TODO
  29. +0 626 TSRM/TSRM.c
  30. +0 186 TSRM/TSRM.dsp
  31. +0 161 TSRM/TSRM.h
  32. +0 1  TSRM/acconfig.h
  33. +0 5 TSRM/acinclude.m4
  34. +0 43 TSRM/build.mk
  35. +0 33 TSRM/buildconf
  36. +0 31 TSRM/configure.in
  37. +0 44 TSRM/readdir.h
  38. +0 165 TSRM/threads.m4
  39. +0 128 TSRM/tsrm.m4
  40. +0 9 TSRM/tsrm_config.nw.h
  41. +0 19 TSRM/tsrm_config.w32.h
  42. +0 58 TSRM/tsrm_config_common.h
  43. +0 260 TSRM/tsrm_nw.c
  44. +0 28 TSRM/tsrm_nw.h
  45. +0 63 TSRM/tsrm_strtok_r.c
  46. +0 6 TSRM/tsrm_strtok_r.h
  47. +0 847 TSRM/tsrm_virtual_cwd.c
  48. +0 252 TSRM/tsrm_virtual_cwd.h
  49. +0 362 TSRM/tsrm_win32.c
  50. +0 104 TSRM/tsrm_win32.h
  51. +0 10,143 Zend/ChangeLog
  52. +0 186 Zend/FlexLexer.h
  53. +0 56 Zend/LICENSE
  54. +0 51 Zend/Makefile.am
  55. +0 193 Zend/OBJECTS2_HOWTO
  56. +0 136 Zend/RFCs/001.txt
  57. +0 169 Zend/RFCs/002.txt
  58. +0 72 Zend/RFCs/003.txt
  59. +0 107 Zend/RFCs/004.txt
  60. +0 749 Zend/ZEND_CHANGES
  61. +0 510 Zend/Zend.dsp
  62. +0 232 Zend/Zend.m4
  63. +0 258 Zend/ZendCore.dep
  64. +0 691 Zend/ZendTS.dsp
  65. +0 81 Zend/acconfig.h
  66. +0 47 Zend/acinclude.m4
  67. +0 43 Zend/build.mk
  68. +0 33 Zend/buildconf
  69. +0 45 Zend/configure.in
  70. +0 1,633 Zend/flex.skl
  71. +0 339 Zend/tests/zend2.php
  72. +0 951 Zend/zend.c
  73. +0 588 Zend/zend.h
  74. BIN  Zend/zend.ico
  75. +0 1,426 Zend/zend_API.c
  76. +0 431 Zend/zend_API.h
  77. +0 752 Zend/zend_alloc.c
  78. +0 141 Zend/zend_alloc.h
  79. +0 1,494 Zend/zend_builtin_functions.c
  80. +0 26 Zend/zend_builtin_functions.h
  81. +0 3,088 Zend/zend_compile.c
  82. +0 723 Zend/zend_compile.h
  83. +0 79 Zend/zend_config.nw.h
  84. +0 93 Zend/zend_config.w32.h
  85. +0 273 Zend/zend_constants.c
  86. +0 64 Zend/zend_constants.h
  87. +0 62 Zend/zend_dynamic_array.c
  88. +0 38 Zend/zend_dynamic_array.h
  89. +0 40 Zend/zend_errors.h
  90. +0 3,832 Zend/zend_execute.c
  91. +0 167 Zend/zend_execute.h
  92. +0 992 Zend/zend_execute_API.c
  93. +0 32 Zend/zend_execute_locks.h
  94. +0 279 Zend/zend_extensions.c
  95. +0 116 Zend/zend_extensions.h
  96. +0 140 Zend/zend_fast_cache.h
  97. +0 270 Zend/zend_globals.h
  98. +0 109 Zend/zend_globals_macros.h
  99. +0 1,324 Zend/zend_hash.c
  100. +0 274 Zend/zend_hash.h
  101. +0 247 Zend/zend_highlight.c
  102. +0 52 Zend/zend_highlight.h
  103. +0 147 Zend/zend_indent.c
  104. +0 26 Zend/zend_indent.h
  105. +0 509 Zend/zend_ini.c
  106. +0 199 Zend/zend_ini.h
  107. +0 235 Zend/zend_ini_parser.y
  108. +0 12 Zend/zend_ini_scanner.h
  109. +0 234 Zend/zend_ini_scanner.l
  110. +0 15 Zend/zend_istdiostream.h
  111. +0 852 Zend/zend_language_parser.y
  112. +0 41 Zend/zend_language_scanner.h
  113. +0 1,532 Zend/zend_language_scanner.l
  114. +0 367 Zend/zend_list.c
  115. +0 111 Zend/zend_list.h
  116. +0 308 Zend/zend_llist.c
  117. +0 77 Zend/zend_llist.h
  118. +0 320 Zend/zend_mm.c
  119. +0 63 Zend/zend_mm.h
  120. +0 88 Zend/zend_modules.h
  121. 0  Zend/zend_multibyte.c
  122. +0 499 Zend/zend_object_handlers.c
  123. +0 79 Zend/zend_object_handlers.h
  124. +0 124 Zend/zend_objects.c
  125. +0 10 Zend/zend_objects.h
  126. +0 263 Zend/zend_objects_API.c
  127. +0 49 Zend/zend_objects_API.h
  128. +0 425 Zend/zend_opcode.c
Sorry, we could not display the entire diff because too many files (2,267) changed.
294 CODING_STANDARDS
... ... @@ -1,294 +0,0 @@
1   -PHP Coding Standards
2   -====================
3   -
4   -
5   -This file lists several standards that any programmer, adding or changing
6   -code in PHP, should follow. Since this file was added at a very late
7   -stage of the development of PHP v3.0, the code base does not (yet) fully
8   -follow it, but it's going in that general direction. Since we are now
9   -well into the version 4 releases, many sections have been recoded to use
10   -these rules.
11   -
12   -
13   -Code Implementation
14   --------------------
15   -
16   -[0] Document your code in source files and the manual. [tm]
17   -
18   -[1] Functions that are given pointers to resources should not free them
19   -
20   -For instance, function int mail(char *to, char *from) should NOT free
21   -to and/or from.
22   -Exceptions:
23   -
24   - - The function's designated behavior is freeing that resource. E.g. efree()
25   - - The function is given a boolean argument, that controls whether or not
26   - the function may free its arguments (if true - the function must free its
27   - arguments, if false - it must not)
28   - - Low-level parser routines, that are tightly integrated with the token
29   - cache and the bison code for minimum memory copying overhead.
30   -
31   -[2] Functions that are tightly integrated with other functions within the
32   - same module, and rely on each other non-trivial behavior, should be
33   - documented as such and declared 'static'. They should be avoided if
34   - possible.
35   -
36   -[3] Use definitions and macros whenever possible, so that constants have
37   - meaningful names and can be easily manipulated. The only exceptions
38   - to this rule are 0 and 1, when used as false and true (respectively).
39   - Any other use of a numeric constant to specify different behavior
40   - or actions should be done through a #define.
41   -
42   -[4] When writing functions that deal with strings, be sure to remember
43   - that PHP holds the length property of each string, and that it
44   - shouldn't be calculated with strlen(). Write your functions in a such
45   - a way so that they'll take advantage of the length property, both
46   - for efficiency and in order for them to be binary-safe.
47   - Functions that change strings and obtain their new lengths while
48   - doing so, should return that new length, so it doesn't have to be
49   - recalculated with strlen() (e.g. php_addslashes())
50   -
51   -[5] Use php_error_docref() group of functions to report any errors/warnings
52   - during code execution. Use descriptive error messages, and try to avoid
53   - using identical error strings for different stages of an error. For
54   - example, if in order to obtain a URL you have to parse the URL, connect,
55   - and retreive the text, assuming something can go wrong at each of these
56   - stages, don't report an error "Unable to get URL" on all of them, but
57   - instead, write something like "Unable to parse URL", "Unable to connect
58   - to URL server" and "Unable to fetch URL text", respectively.
59   -
60   - It has been silently agreed to prefix every php_error() message with the
61   - name of the current function if applicable:
62   -
63   - php_error(E_WHATEVER, "%s(): Desc.", get_active_function_name(TSRMLS_C));
64   -
65   - This can be done automatically using php_error_docref(). The first
66   - parameter, docref, is either NULL or the URL of a page describing the
67   - error in detail. In most cases you will pass NULL, to generate the URL
68   - from the name of the function being executed:
69   -
70   - php_error_docref(NULL TSRMLS_CC, E_WHATEVER, "Desc.");
71   -
72   - If you pass a URL, it can either be a full URL beginning with "http://":
73   -
74   - php_error_docref("http://externalsite.tld/page.ext#error"
75   - TSRMLS_CC, E_WHATEVER, "Desc.");
76   -
77   - Or the name of a manual page without file extension, but with an optional
78   - target anchor. Or simply the anchor within the manual page of the current
79   - function. When using function names you must replace '_' by '-':
80   -
81   - php_error_docref("function.ext-func#error" TSRMLS_CC, E_WHATEVER, "Desc.");
82   -
83   - To display one or two important parameters after the function name, use
84   - php_error_docref1() or php_error_docref2(). For example, file functions
85   - should display the name of the file opened:
86   -
87   - php_error_docref1("function.fopen" TSRMLS_CC, filename,
88   - E_WHATEVER, "Desc.");
89   -
90   - php_error_docref2("function.fopen" TSRMLS_CC, filename, openmode,
91   - E_WHATEVER, "Desc.");
92   -
93   - Fixing ("unifying") existing php_error() message is a good thing [tm].
94   -
95   -[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
96   - check its man page again, and only then, consider using it, and even then,
97   - try avoiding it.
98   -
99   -[7] Use PHP_* macros in the PHP source, and ZEND_* macros in the Zend
100   - part of the source. Although the PHP_* macro's are mostly aliased to the
101   - ZEND_* macros it gives a better understanding on what kind of macro you're
102   - calling.
103   -
104   -[8] Use assert(). assert.h is included in php.h if it is available. Not only
105   - does good assertion catch bugs, but it also helps with code readability.
106   - - Do not use assert for error handling. Use assert only for the
107   - condition that must be always true.
108   - - Do not use assignments in assert conditions. If you assign inside an
109   - assert condition, you risk an elusive bug that would be very difficult
110   - to spot in a debug build, due to the side effect of the assignment.
111   - Function calls in assert conditions may also cause this problem, if
112   - they modify one of their arguments or global variables.
113   -
114   -[9] When commenting out code using a #if statement, do NOT use 0 only. Instead
115   - use "<cvs username here>_0". For example, #if FOO_0, where FOO is your
116   - cvs user foo. This allows easier tracking of why code was commented out,
117   - especially in bundled libraries.
118   -
119   -[10] Do not define functions that are not available. For instance, if a
120   - library is missing a function, do not define the PHP version of the
121   - function, and do not raise a run-time error about the function not
122   - existing. End users should use function_exists() to test for the
123   - existence of a function
124   -
125   -[11] Prefer emalloc(), efree(), estrdup(), etc. to their standard C library
126   - counterparts. These functions implement an internal "safety-net"
127   - mechanism that ensures the deallocation of any unfreed memory at the
128   - end of a request. They also provide useful allocation and overflow
129   - information while running in debug mode.
130   -
131   - In almost all cases, memory returned to the engine must be allocated
132   - using emalloc().
133   -
134   - The use of malloc() should be limited to cases where a third-party
135   - library may need to control or free the memory, or when the memory in
136   - question needs to survive between multiple requests.
137   -
138   -Naming Conventions
139   -------------------
140   -
141   -[1] Function names for user-level functions should be enclosed with in
142   - the PHP_FUNCTION() macro. They should be in lowercase, with words
143   - underscore delimited, with care taken to minimize the letter count.
144   - Abbreviations should not be used when they greatly decrease the
145   - readability of the function name itself.
146   -
147   - Good:
148   - 'mcrypt_enc_self_test'
149   - 'mysql_list_fields'
150   -
151   - Ok:
152   - 'mcrypt_module_get_algo_supported_key_sizes'
153   - (could be 'mcrypt_mod_get_algo_sup_key_sizes'?)
154   - 'get_html_translation_table'
155   - (could be 'html_get_trans_table'?)
156   -
157   - Bad:
158   - 'hw_GetObjectByQueryCollObj'
159   - 'pg_setclientencoding'
160   - 'jf_n_s_i'
161   -
162   -
163   -[2] If they are part of a "parent set" of functions, that parent should
164   - be included in the user function name, and should be clearly related
165   - to the parent program or function family. This should be in the form
166   - of parent_*.
167   -
168   - A family of 'foo' functions, for example:
169   - Good:
170   - 'foo_select_bar'
171   - 'foo_insert_baz'
172   - 'foo_delete_baz'
173   -
174   - Bad:
175   - 'fooselect_bar'
176   - 'fooinsertbaz'
177   - 'delete_foo_baz'
178   -
179   -[3] Function names used by user functions should be prefixed
180   - with "_php_", and followed by a word or an underscore-delimited list of
181   - words, in lowercase letters, that describes the function. If applicable,
182   - they should be declared 'static'.
183   -
184   -[4] Variable names must be meaningful. One letter variable names must be
185   - avoided, except for places where the variable has no real meaning or
186   - a trivial meaning (e.g. for (i=0; i<100; i++) ...).
187   -
188   -[5] Variable names should be in lowercase. Use underscores to separate
189   - between words.
190   -
191   -
192   -Syntax and indentation
193   -----------------------
194   -
195   -[1] Never use C++ style comments (i.e. // comment). Always use C-style
196   - comments instead. PHP is written in C, and is aimed at compiling
197   - under any ANSI-C compliant compiler. Even though many compilers
198   - accept C++-style comments in C code, you have to ensure that your
199   - code would compile with other compilers as well.
200   - The only exception to this rule is code that is Win32-specific,
201   - because the Win32 port is MS-Visual C++ specific, and this compiler
202   - is known to accept C++-style comments in C code.
203   -
204   -[2] Use K&R-style. Of course, we can't and don't want to
205   - force anybody to use a style he or she is not used to, but,
206   - at the very least, when you write code that goes into the core
207   - of PHP or one of its standard modules, please maintain the K&R
208   - style. This applies to just about everything, starting with
209   - indentation and comment styles and up to function declaration
210   - syntax.
211   -
212   - (see also http://www.tuxedo.org/~esr/jargon/html/entry/indent-style.html)
213   -
214   -[3] Be generous with whitespace and braces. Always prefer:
215   -
216   - if (foo) {
217   - bar;
218   - }
219   -
220   - to:
221   -
222   - if(foo)bar;
223   -
224   - Keep one empty line between the variable declaration section and
225   - the statements in a block, as well as between logical statement
226   - groups in a block. Maintain at least one empty line between
227   - two functions, preferably two.
228   -
229   -[4] When indenting, use the tab character. A tab is expected to represent
230   - four spaces. It is important to maintain consistency in indenture so
231   - that definitions, comments, and control structures line up correctly.
232   -
233   -Documentation and Folding Hooks
234   --------------------------------
235   -
236   -In order to make sure that the online documentation stays in line with
237   -the code, each user-level function should have its user-level function
238   -prototype before it along with a brief one-line description of what the
239   -function does. It would look like this:
240   -
241   -/* {{{ proto int abs(int number)
242   - Returns the absolute value of the number */
243   -PHP_FUNCTION(abs)
244   -{
245   - ...
246   -}
247   -/* }}} */
248   -
249   -The {{{ symbols are the default folding symbols for the folding mode in
250   -Emacs and vim (set fdm=marker). Folding is very useful when dealing with
251   -large files because you can scroll through the file quickly and just unfold
252   -the function you wish to work on. The }}} at the end of each function marks
253   -the end of the fold, and should be on a separate line.
254   -
255   -The "proto" keyword there is just a helper for the doc/genfuncsummary script
256   -which generates a full function summary. Having this keyword in front of the
257   -function prototypes allows us to put folds elsewhere in the code without
258   -messing up the function summary.
259   -
260   -Optional arguments are written like this:
261   -
262   -/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
263   - Returns a header object with the defined parameters */
264   -
265   -And yes, please keep the prototype on a single line, even if that line
266   -is massive.
267   -
268   -New and Experimental Functions
269   ------------------------------------
270   -To reduce the problems normally associated with the first public
271   -implementation of a new set of functions, it has been suggested
272   -that the first implementation include a file labeled 'EXPERIMENTAL'
273   -in the function directory, and that the functions follow the
274   -standard prefixing conventions during their initial implementation.
275   -
276   -The file labelled 'EXPERIMENTAL' should include the following
277   -information:
278   - Any authoring information (known bugs, future directions of the module).
279   - Ongoing status notes which may not be appropriate for CVS comments.
280   -
281   -Aliases & Legacy Documentation
282   ------------------------------------
283   -You may also have some deprecated aliases with close to duplicate
284   -names, for example, somedb_select_result and somedb_selectresult. For
285   -documentation purposes, these will only be documented by the most
286   -current name, with the aliases listed in the documentation for
287   -the parent function. For ease of reference, user-functions with
288   -completely different names, that alias to the same function (such as
289   -highlight_file and show_source), will be separately documented. The
290   -proto should still be included, describing which function is aliased.
291   -
292   -Backwards compatible functions and names should be maintained as long
293   -as the code can be reasonably be kept as part of the codebase. See
294   -/phpdoc/README for more information on documentation.
2  CREDITS
... ... @@ -1,2 +0,0 @@
1   -For the list of people who've put work into PHP, please see
2   -http://www.php.net/credits.php
27,374 ChangeLog
0 additions, 27,374 deletions not shown
BIN  ChangeLog.1999.gz
Binary file not shown
0  ChangeLog.1999.gz
Sorry, we could not display the changes to this file because there were too many other changes to display.
BIN  ChangeLog.2000.gz
Binary file not shown
0  ChangeLog.2000.gz
Sorry, we could not display the changes to this file because there were too many other changes to display.
BIN  ChangeLog.2001.gz
Binary file not shown
0  ChangeLog.2001.gz
Sorry, we could not display the changes to this file because there were too many other changes to display.
497 EXTENSIONS
... ... @@ -1,497 +0,0 @@
1   - List of PHP maintainers
2   - =======================
3   -
4   -Maintenance legend
5   -------------------
6   - Supported: Someone is actually paid to look after this.
7   - Maintained: Someone actually looks after it.
8   - Odd Fixes: It has a maintainer but they don't have time to do
9   - much other than throw the odd patch in. See below.
10   - Orphan: No current maintainer [but maybe you could take the
11   - role as you write your new code].
12   - Obsolete: Old code. Something tagged obsolete generally means
13   - it has been replaced by a better system and you
14   - should be using that.
15   - Unknown: Not known at this time.
16   -
17   -Status legend
18   --------------
19   - Working: Working under both Windows and Unix.
20   - Windows: Working only under Windows.
21   - Unix: Working only under Unix.
22   - Experimental: Under development or initial release.
23   - Not Working: Not working.
24   - Unknown: Status unknown.
25   -
26   -
27   -== Server APIs ==
28   -
29   --------------------------------------------------------------------------------
30   -EXTENSION: aolserver
31   -MAINTENANCE: Unknown
32   -STATUS: Unknown
33   --------------------------------------------------------------------------------
34   -EXTENSION: apache
35   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
36   -MAINTENANCE: Maintained
37   -STATUS: Working
38   --------------------------------------------------------------------------------
39   -EXTENSION: apache2
40   -PRIMARY MAINTAINER: Aaron Bannert <aaron@php.net>
41   -MAINTENANCE: Maintained
42   -STATUS: Experimental
43   --------------------------------------------------------------------------------
44   -EXTENSION: cgi
45   -MAINTENANCE: Unknown
46   -STATUS: Working
47   --------------------------------------------------------------------------------
48   -EXTENSION: fhttpd
49   -MAINTENANCE: Unknown
50   -STATUS: Unknown
51   --------------------------------------------------------------------------------
52   -EXTENSION: isapi
53   -MAINTENANCE: Unknown
54   -STATUS: Working
55   --------------------------------------------------------------------------------
56   -EXTENSION: nsapi
57   -MAINTENANCE: Unknown
58   -STATUS: Unknown
59   --------------------------------------------------------------------------------
60   -EXTENSION: phttpd
61   -MAINTENANCE: Unknown
62   -STATUS: Unknown
63   --------------------------------------------------------------------------------
64   -EXTENSION: pi3web
65   -MAINTENANCE: Unknown
66   -STATUS: Unknown
67   --------------------------------------------------------------------------------
68   -EXTENSION: roxen
69   -MAINTENANCE: Unknown
70   -STATUS: Unknown
71   --------------------------------------------------------------------------------
72   -EXTENSION: servlet
73   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
74   -MAINTENANCE: Maintained
75   -STATUS: Working
76   --------------------------------------------------------------------------------
77   -EXTENSION: thttpd
78   -MAINTENANCE: Unknown
79   -STATUS: Unknown
80   --------------------------------------------------------------------------------
81   -EXTENSION: webjames
82   -PRIMARY MAINTAINER: Alex Waugh <alex@alexwaugh.com>
83   -MAINTENANCE: Maintained
84   -STATUS: Experimental
85   --------------------------------------------------------------------------------
86   -
87   -
88   -== Database extensions ==
89   -
90   --------------------------------------------------------------------------------
91   -EXTENSION: dba
92   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
93   -MAINTENANCE: Maintained
94   -STATUS: Working
95   --------------------------------------------------------------------------------
96   -EXTENSION: dbase
97   -PRIMARY MAINTAINER: Jim Winstead <jimw@php.net>
98   -MAINTENANCE: Odd Fixes
99   -STATUS: Working
100   --------------------------------------------------------------------------------
101   -EXTENSION: dbx
102   -PRIMARY MAINTAINER: Marc Boeren <M.Boeren@guidance.nl>
103   -MAINTENANCE: Maintained
104   -STATUS: Working
105   -SINCE: 4.0.6
106   -COMMENT: DB abstraction for odbc, mysql, pgsql, mssql, fbsql and more, see documentation
107   --------------------------------------------------------------------------------
108   -EXTENSION: filepro
109   -MAINTENANCE: Unknown
110   -STATUS: Unknown
111   --------------------------------------------------------------------------------
112   -EXTENSION: hyperwave
113   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
114   -MAINTENANCE: Maintained
115   -STATUS: Working
116   --------------------------------------------------------------------------------
117   -EXTENSION: informix
118   -PRIMARY MAINTAINER: Danny Heijl <Danny.Heijl@cevi.be>
119   -MAINTENANCE: Maintained
120   -STATUS: Working
121   --------------------------------------------------------------------------------
122   -EXTENSION: ingres_ii
123   -PRIMARY MAINTAINER: David H�not <henot@php.net>
124   -MAINTENANCE: Maintained
125   -STATUS: Experimental
126   -SINCE: 4.0.2
127   --------------------------------------------------------------------------------
128   -EXTENSION: interbase
129   -PRIMARY MAINTAINER: Jouni Ahto <jouni.ahto@exdec.fi>
130   -MAINTENANCE: Odd Fixes
131   -STATUS: Working
132   --------------------------------------------------------------------------------
133   -EXTENSION: msql
134   -MAINTENANCE: Unknown
135   -STATUS: Working
136   --------------------------------------------------------------------------------
137   -EXTENSION: msession
138   -PRIMARY MAINTAINER Mark L. Woodward mlwmohawk@mohawksoft.com
139   -MAINTENANCE: Maintained
140   -STATUS: Working/Experimental
141   -COMMENT: Tested on Linux, should work on other UNIX platforms. Backend server code can compile under Windows.
142   --------------------------------------------------------------------------------
143   -EXTENSION: mssql
144   -PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
145   -MAINTENANCE: Maintained
146   -STATUS: Working
147   -COMMENT: Tested on phpts and isapi versions
148   --------------------------------------------------------------------------------
149   -EXTENSION: mysql
150   -PRIMARY MAINTAINER: Zak Greant <zak@mysql.com>, Georg Richter <georg@php.net>
151   -MAINTENANCE: Maintained
152   -STATUS: Working
153   --------------------------------------------------------------------------------
154   -EXTENSION: pgsql
155   -PRIMARY MAINTAINER: Yasuo Ohgaki <yohgaki@php.net>
156   -MAINTENANCE: Maintained
157   -STATUS: Working
158   -COMMENT: Use PostgreSQL 7.0.x or later. PostgreSQL 6.5.3 or less have fatal bug.
159   --------------------------------------------------------------------------------
160   -EXTENSION: sybase
161   -MAINTENANCE: Unknown
162   -STATUS: Not Working
163   --------------------------------------------------------------------------------
164   -EXTENSION: sybase_ct
165   -MAINTENANCE: Unknown
166   -STATUS: Working
167   --------------------------------------------------------------------------------
168   -EXTENSION: oci8
169   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
170   -MAINTENANCE: Maintained
171   -STATUS: Working
172   --------------------------------------------------------------------------------
173   -EXTENSION: odbc
174   -PRIMARY MAINTAINER: Daniel R. Kalowsky <kalowsky@php.net>
175   -MAINTENANCE: Maintained
176   -STATUS: Working
177   -COMMENT: Working
178   --------------------------------------------------------------------------------
179   -EXTENSION: oracle
180   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
181   -MAINTENANCE: Maintained
182   -STATUS: Working
183   -COMMENT: Using the new OCI8 driver is encouraged where possible.
184   --------------------------------------------------------------------------------
185   -
186   -
187   -== Other extensions ==
188   -
189   --------------------------------------------------------------------------------
190   -EXTENSION: aspell
191   -MAINTENANCE: Unknown
192   -STATUS: Working
193   -COMMENT: For aspell .27 and greater, check out the pspell extension
194   --------------------------------------------------------------------------------
195   -EXTENSION: bcmath
196   -MAINTENANCE: Unknown
197   -STATUS: Unknown
198   --------------------------------------------------------------------------------
199   -EXTENSION: bz2
200   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
201   -MAINTENANCE: Odd Fixes
202   -STATUS: Working
203   -SINCE: 4.0.3
204   --------------------------------------------------------------------------------
205   -EXTENSION: dio
206   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
207   -MAINTENANCE: Orphaned
208   -STATUS: Working
209   -SINCE: 4.0.6
210   --------------------------------------------------------------------------------
211   -EXTENSION: cyrus
212   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
213   -MAINTENANCE: Orphaned
214   -STATUS: Working
215   -SINCE: 4.0.6
216   --------------------------------------------------------------------------------
217   -EXTENSION: calendar
218   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
219   -MAINTENANCE: Odd Fixes
220   -STATUS: Working
221   --------------------------------------------------------------------------------
222   -EXTENSION: com
223   -PRIMARY MAINTAINER: Harald Radi <h.radi@nme.at>
224   -MAINTENANCE: Maintained
225   -STATUS: Working
226   --------------------------------------------------------------------------------
227   -EXTENSION: cpdf
228   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
229   -MAINTENANCE: Maintained
230   -STATUS: Working
231   --------------------------------------------------------------------------------
232   -EXTENSION: crack
233   -MAINTENANCE: Unknown
234   -STATUS: Experimental
235   -SINCE: 4.0.5
236   --------------------------------------------------------------------------------
237   -EXTENSION: ctype
238   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
239   -MAINTENANCE: Maintained
240   -STATUS: Working
241   --------------------------------------------------------------------------------
242   -EXTENSION: curl
243   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
244   -MAINTENANCE: Maintained
245   -STATUS: Working
246   -SINCE: 4.0.2
247   --------------------------------------------------------------------------------
248   -EXTENSION: cybercash
249   -PRIMARY MAINTAINER: Evan Klinger <evan715@sirius.com>
250   -MAINTENANCE: Maintained
251   -STATUS: Unknown
252   --------------------------------------------------------------------------------
253   -EXTENSION: domxml
254   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
255   -MAINTENANCE: Maintained
256   -STATUS: Experimental
257   --------------------------------------------------------------------------------
258   -EXTENSION: dotnet
259   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
260   -MAINTENANCE: Maintained
261   -STATUS: Experimental
262   --------------------------------------------------------------------------------
263   -EXTENSION: exif
264   -PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>
265   -MAINTENANCE: Maintained
266   -STATUS: Working
267   -SINCE: 4.2
268   --------------------------------------------------------------------------------
269   -EXTENSION: fdf
270   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
271   -MAINTENANCE: Maintained
272   -STATUS: Unknown
273   --------------------------------------------------------------------------------
274   -EXTENSION: fribidi
275   -PRIMARY MAINTAINER: Tal Peer <tal@php.net>
276   -MAINTENANCE: Maintained
277   -STATUS: Working
278   --------------------------------------------------------------------------------
279   -EXTENSION: ftp
280   -PRIMARY MAINTAINER: Stefan Esser (sesser@php.net)
281   -MAINTENANCE: Maintained
282   -STATUS: Working
283   --------------------------------------------------------------------------------
284   -EXTENSION: gd
285   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
286   -MAINTENANCE: Maintained
287   -STATUS: Working
288   --------------------------------------------------------------------------------
289   -EXTENSION: gettext
290   -MAINTENANCE: Unknown
291   -STATUS: Working
292   --------------------------------------------------------------------------------
293   -EXTENSION: gmp
294   -MAINTENANCE: Unknown
295   -STATUS: Unknown
296   -SINCE: 4.0.4
297   --------------------------------------------------------------------------------
298   -EXTENSION: icap
299   -MAINTENANCE: Unknown
300   -STATUS: Obsolete
301   --------------------------------------------------------------------------------
302   -EXTENSION: iconv
303   -PRIMARY MAINTAINER: Moriyoshi Koizumi <moriyoshi@php.net>
304   -MAINTENANCE: Maintained
305   -STATUS: Working
306   --------------------------------------------------------------------------------
307   -EXTENSION: imap
308   -PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
309   -MAINTENANCE: Odd Fixes
310   -STATUS: Working
311   --------------------------------------------------------------------------------
312   -EXTENSION: java
313   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
314   -MAINTENANCE: Maintained
315   -STATUS: Working
316   --------------------------------------------------------------------------------
317   -EXTENSION: ldap
318   -PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>
319   -MAINTENANCE: Maintained
320   -STATUS: Working
321   --------------------------------------------------------------------------------
322   -EXTENSION: mbstring
323   -PRIMARY MAINTAINER: Rui Hirokawa <hirokawa@php.net>
324   -MAINTENANCE: Maintained
325   -STATUS: Working
326   --------------------------------------------------------------------------------
327   -EXTENSION: mcal
328   -PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
329   -MAINTENANCE: Odd Fixes
330   -STATUS: Working
331   --------------------------------------------------------------------------------
332   -EXTENSION: mcrypt
333   -PRIMARY MAINTAINER: Derick Rethans <d.rethans@jdimedia.nl>
334   -MAINTENANCE: Maintained
335   -STATUS: Working
336   --------------------------------------------------------------------------------
337   -EXTENSION: mhash
338   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
339   -MAINTENANCE: Maintained
340   -STATUS: Working
341   --------------------------------------------------------------------------------
342   -EXTENSION: muscat
343   -PRIMARY MAINTAINER: Sam Liddicott <sam@ananova.com>
344   -MAINTENANCE: Maintained
345   -STATUS: Working
346   -SINCE: 4.0.5
347   -COMMENT: Not tested against windows, only core API completed, rest under development
348   --------------------------------------------------------------------------------
349   -EXTENSION: openssl
350   -PRIMARY MAINTAINER: Wez Furlong <wez@php.net>
351   -MAINTENANCE: Maintained
352   -STATUS: Experimental
353   -SINCE: 4.0.4
354   --------------------------------------------------------------------------------
355   -EXTENSION: overload
356   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
357   -MAINTENANCE: Maintained
358   -STATUS: Experimental
359   --------------------------------------------------------------------------------
360   -EXTENSION: pcre
361   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
362   -MAINTENANCE: Maintained
363   -STATUS: Working
364   --------------------------------------------------------------------------------
365   -EXTENSION: pdf
366   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
367   -MAINTENANCE: Maintained
368   -STATUS: Working
369   --------------------------------------------------------------------------------
370   -EXTENSION: pfpro
371   -PRIMARY MAINTAINER: David Croft <david@infotrek.co.uk>
372   -MAINTENANCE: Maintained
373   -STATUS: Working
374   -SINCE: 4.0.2
375   --------------------------------------------------------------------------------
376   -EXTENSION: posix
377   -PRIMARY MAINTAINER: Kristian K�hntopp <kris@koehntopp.de>
378   -MAINTENANCE: Maintained
379   -STATUS: Working
380   --------------------------------------------------------------------------------
381   -EXTENSION: printer
382   -PRIMARY MAINTAINER: Daniel Beulshausen <daniel@php4win.de>
383   -MAINTENANCE: Maintained
384   -STATUS: Working
385   -SINCE: 4.0.4
386   -COMMENT: Only for Win32
387   --------------------------------------------------------------------------------
388   -EXTENSION: pspell
389   -PRIMARY MAINTAINER: Vlad Krupin <phpdevel@echospace.com>
390   -MAINTENANCE: Unknown
391   -STATUS: Unknown
392   -SINCE: 4.0.2
393   --------------------------------------------------------------------------------
394   -EXTENSION: qtdom
395   -MAINTENANCE: Unknown
396   -STATUS: Experimental
397   -SINCE: 4.0.4
398   --------------------------------------------------------------------------------
399   -EXTENSION: readline
400   -MAINTENANCE: Unknown
401   -STATUS: Unknown
402   --------------------------------------------------------------------------------
403   -EXTENSION: recode
404   -PRIMARY MAINTAINER: Kristian K�hntopp <kris@koehntopp.de>
405   -MAINTENANCE: Maintained
406   -STATUS: Working
407   --------------------------------------------------------------------------------
408   -EXTENSION: sablot
409   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
410   -MAINTENANCE: Obsolete
411   -STATUS: Experimental
412   -SINCE: 4.0.3
413   --------------------------------------------------------------------------------
414   -EXTENSION: satellite
415   -PRIMARY MAINTAINER: David Eriksson <eriksson@php.net>
416   -MAINTENANCE: Odd Fixes
417   -STATUS: Experimental
418   -SINCE: 4.0.3
419   --------------------------------------------------------------------------------
420   -EXTENSION: session
421   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
422   -MAINTENANCE: Maintained
423   -STATUS: Working
424   --------------------------------------------------------------------------------
425   -EXTENSION: shmop
426   -PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
427   -MAINTENANCE: Maintained
428   -STATUS: Experimental
429   -SINCE: 4.0.3
430   --------------------------------------------------------------------------------
431   -EXTENSION: snmp
432   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
433   -MAINTENANCE: Odd Fixes
434   -STATUS: Working
435   --------------------------------------------------------------------------------
436   -EXTENSION: sockets
437   -PRIMARY MAINTAINER: Chris Vandomelen <chrisv@b0rked.dhs.org>
438   -MAINTENANCE: Maintained
439   -STATUS: Experimental
440   -SINCE: 4.0.2
441   --------------------------------------------------------------------------------
442   -EXTENSION: swf
443   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
444   -MAINTENANCE: Orphaned
445   -STATUS: Deprecated (Use the ming swf extension instead)
446   -COMMENT: Only for Unix (won't change)
447   --------------------------------------------------------------------------------
448   -EXTENSION: sysvsem
449   -MAINTENANCE: Unknown
450   -STATUS: Unknown
451   --------------------------------------------------------------------------------
452   -EXTENSION: sysvshm
453   -MAINTENANCE: Unknown
454   -STATUS: Working
455   --------------------------------------------------------------------------------
456   -EXTENSION: vpopmail
457   -MAINTENANCE: Unknown
458   -STATUS: Experimental
459   -SINCE: 4.0.5
460   --------------------------------------------------------------------------------
461   -EXTENSION: wddx
462   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
463   -MAINTENANCE: Maintained
464   -STATUS: Working
465   --------------------------------------------------------------------------------
466   -EXTENSION: xml
467   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
468   -MAINTENANCE: Maintained
469   -STATUS: Working
470   --------------------------------------------------------------------------------
471   -EXTENSION: xslt
472   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
473   -MAINTENANCE: Odd Fixes
474   -STATUS: Working (mostly)
475   --------------------------------------------------------------------------------
476   -EXTENSION: yaz
477   -PRIMARY MAINTAINER: Adam Dickmeiss <adam@indexdata.dk>
478   -MAINTENANCE: Maintained
479   -STATUS: Unknown
480   -SINCE: 4.0.1
481   --------------------------------------------------------------------------------
482   -EXTENSION: yp
483   -MAINTENANCE: Unknown
484   -STATUS: Unknown
485   --------------------------------------------------------------------------------
486   -EXTENSION: zlib
487   -PRIMARY MAINTAINER: Stefan Roehrich <sr@linux.de>
488   -MAINTENANCE: Maintained
489   -STATUS: Working
490   --------------------------------------------------------------------------------
491   -EXTENSION: zziplib
492   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
493   -MAINTENANCE: Odd Fixes
494   -STATUS: Working
495   -SINCE: 4.0.5
496   --------------------------------------------------------------------------------
497   -# iptc?
417 INSTALL
... ... @@ -1,417 +0,0 @@
1   -Installation Instructions for PHP 4
2   ------------------------------------
3   -
4   -STOP!
5   -
6   -Before going any further, please remember you are going to find more
7   -up to date instructions in the online manual, located here:
8   -
9   -http://www.php.net/manual/en/install.apache.php
10   -
11   -It is strongly recommended that you read the manual page before going
12   -further. However, for the impatient, here is a quick set of steps that
13   -will build PHP as (first) a dynamic Apache module (DSO) for Apache 1.3.x
14   -with MySQL support and then a static module. A more verbose explanation follows.
15   -
16   -For installing PHP on other web servers, refer to one of the following
17   -files:
18   -
19   - sapi/aolserver/README
20   - sapi/pi3web/README
21   - sapi/servlet/README
22   - sapi/thttpd/README
23   - README.Zeus
24   -
25   -Some notes:
26   -
27   -1: Only install either the static module or the dynamic one. Do not
28   - install both.
29   -
30   -2: If you are recompiling PHP to add new extensions or upgrading
31   - something like GD, remove the config.cache file before you re-run
32   - configure.
33   -
34   -3: If you are on Linux and have installed shared libraries, make
35   - sure the location of these shared libraries are listed in your
36   - /etc/ld.so.conf file. For example, if you have:
37   -
38   - /usr/local/lib/mysql/libmysqlclient.so
39   -
40   - Make sure /etc/ld.so.conf contains:
41   -
42   - /usr/local/lib/mysql
43   -
44   - Then run ldconfig.
45   -
46   -If you want both PHP 3 and 4 modules in the same Apache server, check the
47   -bottom of this file for instructions.
48   -
49   -INSTALLATION WITH THE ZEUS WEB SERVER:
50   ---Please see the 'README.Zeus' file included in this distribution
51   -
52   -
53   -QUICK INSTALL (DSO)
54   -
55   -For this to work your Apache httpd must have mod_so enabled.
56   -Check using httpd -l. You should see something like:
57   -
58   -Compiled-in modules:
59   - http_core.c
60   - mod_so.c
61   -
62   -Chances are you will see a lot more modules than these two. That's ok,
63   -as long as mod_so.c shows up you can proceed with the following steps:
64   -
65   -$ gunzip -c php-4.x.y.tar.gz | tar xf -
66   -$ cd php-4.x.y
67   -$ ./configure --with-mysql --with-apxs
68   -$ make
69   -$ make install
70   -
71   -If you get an error telling you that the apxs script could not be found,
72   -look for it on your system and if you find it, provide the full path to it
73   -as: --with-apxs=/path/to/apxs
74   -
75   -Make sure you specify the version of apxs that is actually installed on
76   -your system and NOT the one that is in the apache source tarball.
77   -
78   -Next you must copy php.ini-dist to the appropriate place (normally
79   -/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
80   -
81   -The only thing left to do is to edit your httpd.conf file and make sure the
82   -PHP 4 mime type is there and uncommented. You need a line that looks like
83   -this:
84   -
85   - AddType application/x-httpd-php .php
86   -
87   -Then restart your server (apachectl restart) and you should be able to
88   -serve up PHP files now. Make a test file called test.php and put some
89   -PHP tags in it. Like <?phpinfo()?>, for example.
90   -
91   -
92   -QUICK INSTALL (Static)
93   -
94   -$ gunzip -c apache_1.3.x.tar.gz | tar xf -
95   -$ cd apache_1.3.x
96   -$ ./configure
97   -$ cd ..
98   -
99   -$ gunzip -c php-4.x.y.tar.gz | tar xf -
100   -$ cd php-4.x.y
101   -$ ./configure --with-mysql --with-apache=../apache_1.3.x
102   -$ make
103   -$ make install
104   -
105   -$ cd ../apache_1.3.x
106   -$ ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
107   - (The above line is correct! Yes, we know libphp4.a does not exist at this
108   - stage. It isn't supposed to. It will be created.)
109   -$ make
110   - (you should now have an httpd binary which you can copy to your Apache bin dir if
111   - is is your first install then you need to "make install" as well)
112   -$ cd ../php-4.x.y
113   -$ cp php.ini-dist /usr/local/lib/php.ini
114   -You can edit /usr/local/lib/php.ini file to set PHP options.
115   -Edit your httpd.conf or srm.conf file and add:
116   - AddType application/x-httpd-php .php
117   -
118   -
119   -VERBOSE INSTALL
120   -
121   -Chances are you are reading this because the quick install steps above
122   -did not work for you. If this is the case, congratulations, you are
123   -among the elite few that actually reads documentation. It really is
124   -not a difficult install and once you have done it once you will fly
125   -through it.
126   -
127   -Installing PHP can be done in four simple steps:
128   -
129   -1. Unpack your distribution file.
130   -
131   - You will have downloaded a file named something like php-4.x.y.tar.gz.
132   - Unzip this file with a command like: gunzip php-4.x.y.tar.gz
133   -
134   - Next you have to untar it with: tar -xvf php-4.x.y.tar
135   -
136   - This will create a php-4.x.y directory. cd into this new directory.
137   -
138   -2a. Configure PHP (Dynamic Module) - Skip to 2b if you wish to build
139   - a static module
140   -
141   - You now have to choose the options you would like. There are quite
142   - a few of them. To see a list, type: ./configure --help
143   -
144   - The only options that you are likely to want to use are the ones in
145   - the last section entitled, "--enable and --with options recognized:"
146   -
147   - A popular choice is to build the Apache module version. In order to
148   - build PHP as a dynamic module for Apache-1.3.x you have to first have
149   - Apache installed. Assuming Apache is already installed, make sure
150   - the shared object module is enabled. To check this, type: httpd -l
151   - You should see something like:
152   -
153   - Compiled-in modules:
154   - http_core.c
155   - mod_so.c
156   -
157   - You will most likely have a lot more modules than what is shown here.
158   - As long as mod_so.c shows up in the list, PHP should be happy.
159   -
160   - Now, type: ./configure --with-mysql --with-apxs
161   -
162   - If you get an error telling you that the apxs script could not be found,
163   - look for it on your system and if you find it, provide the full path to it
164   - as: --with-apxs=/path/to/apxs
165   -
166   - Make sure you specify the version of apxs that is actually installed on
167   - your system and NOT the one that is in the apache source tarball.
168   -
169   - You might also want other flags on this configure line. --with-mysql
170   - is just an example.
171   -
172   - There are a few things that can go wrong during this configure step.
173   - The most common is that you have asked for an option and that the
174   - configure script can not find the files required to enable this
175   - option in PHP. Chances are you can provide the full path to the
176   - base directory under which the related files were installed. For
177   - example, if you have installed the GD library in /opt/gd which means
178   - that /opt/gd/include has your GD header files and /opt/gd/lib contains
179   - your GD library files, you would use --with-gd=/opt/gd
180   -
181   - Skip to step 3 for compilation and installation instructions.
182   -
183   -2b. Configure PHP (Static Module) - Skip if you performed 2a
184   -
185   - You now have to choose the options you would like. There are quite
186   - a few of them. To see a list, type: ./configure --help
187   -
188   - The only options that you are likely to want to use are the ones in
189   - the last section entitled, "--enable and --with options recognized:"
190   -
191   - A popular choice is to build the Apache module version. You need
192   - to know where the source code directory for your Apache server is
193   - located. Then use an option like: --with-apache=/usr/local/src/apache
194   - if that is your Apache source code directory. If you only specify
195   - --with-apache, then it will default to look for your Apache source
196   - in /usr/local/etc/httpd.
197   -
198   - NOTE: The directory you specify should be the top-level of the
199   - unpacked Apache (or Stronghold) distribution. The configure program
200   - will automatically look for httpd.h in different directories under that
201   - location depending on which version of Apache, including Stronghold,
202   - you are running.
203   -
204   - For MySQL support, since newer versions of MySQL installs its various
205   - components under /usr/local, this is the default. If you have
206   - changed the location you can specify it with: --with-mysql=/opt/local
207   - for example. Otherwise just use: --with-mysql
208   -
209   - *NOTE* If you are using Apache 1.3b6 or later, you should run the
210   - Apache Configure script at least once before compiling PHP. It
211   - doesn't matter how you have Apache configured at this point.
212   -
213   - Skip to step 3b at this point.
214   -
215   -3. Compile and install the files. Simply type: make install
216   -
217   -3a. Dynamic Module Installation
218   -
219   - Nothing else is needed here. Proceed to step 4a.
220   -
221   -3b. Static Module Installation
222   -
223   - For the Apache module version this will copy the appropriate files
224   - to the src/modules/php4 directory in your Apache distribution if
225   - you are using Apache 1.3.x. If you are still running Apache 1.2.x
226   - these files will be copied directly to the main src directory.
227   -
228   - For Apache 1.3b6 and later, you can use the new APACI configuration
229   - mechanism. To automatically build Apache with PHP support, use:
230   -
231   - cd apache_1.3.x
232   - ./configure --prefix=/<path>/apache \
233   - --activate-module=src/modules/php4/libphp4.a
234   - make
235   - make install
236   -
237   - If you do not wish to use this new configuration tool, the old
238   - install procedure (src/Configure) will work fine.
239   -
240   - If you are using the old Apache ./Configure script, you will have to
241   - edit the Apache src/Configuration file manually. If you do not have
242   - this file, copy Configuration.tmpl to Configuration.
243   -
244   - For Apache 1.3.x add:
245   -
246   - AddModule modules/php4/libphp4.a
247   -
248   - For Apache 1.3.x don't do anything else. Just add this line and then
249   - run "./Configure" followed by "make".
250   -
251   - For Apache 1.2.x add:
252   -
253   - Module php4_module mod_php4.o
254   -
255   - For Apache 1.2.x you will also have to look in the libphp4.module file,
256   - which was copied to the src directory. The EXTRA_LIBS line in the Apache
257   - Configuration file needs to be set to use the same libs as specified on
258   - the LIBS line in libphp4.module. You also need to make sure to add
259   - "-L." to the beginning of the EXTRA_LIBS line.
260   -
261   - So, as an example, your EXTRA_LIBS line might look like:
262   -
263   - EXTRA_LIBS=-L. -lphp4 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
264   -
265   - NOTE: You should not enclose the EXTRA_LIBS line in double-quotes, as it
266   - is in the libphp4.module file.
267   -
268   - Also, look at the RULE_WANTHSREGEX setting in the libphp4.module file
269   - and set the WANTHSREGEX directive accordingly in your Configuration file.
270   - This last step applies to versions of Apache prior to 1.3b3.
271   -
272   - This is a bit of a hassle, but should serve as incentive to move to
273   - Apache 1.3.x where this step has been eliminated.
274   -
275   - Once you are satisfied with your Configuration settings, type: ./Configure
276   - If you get errors, chances are that you forgot a library or made a typo
277   - somewhere. Re-edit Configuration and try again. If it goes well,
278   - type: make
279   -
280   - Assuming it compiles without errors, proceed to step 4b.
281   -
282   -4a. Setting up the server. (Dynamic Module)
283   -
284   - The make install command in step 3 should have done most of your
285   - work for you. It actually edits your httpd.conf file and tries to
286   - enable the dynamic PHP module. To verify this, look for a line that
287   - looks like this:
288   -
289   - LoadModule php4_module libexec/libphp4.so
290   -
291   - The actual path before the libphp4.so part might differ slightly. This
292   - is likely fine. If you are paranoid you can examine the output from the
293   - make install step to see where the libphp4.so file was actually put and
294   - place the full path to this file on this LoadModule line.
295   -
296   - If somewhere in your httpd.conf file you have a ClearModuleList line
297   - then you also need this line:
298   -
299   - AddModule mod_php4.c
300   -
301   - And finally you need to tell Apache which file extension should trigger
302   - PHP. You do this by creating a special mime type and associating it
303   - with an extension. We suggest using:
304   -
305   - AddType application/x-httpd-php .php
306   -
307   - You are however free to use any extension you wish, including .html.
308   -
309   - Note! If a line has a # at the beginning, then it is commented out
310   - and you need to remove the # for that line to take effect.
311   -
312   - Finally you need to copy php.ini-dist to the appropriate place
313   - (normally /usr/local/lib/php.ini) and edit if necessary.
314   -
315   - Once you have made these changes you should be ready to restart your
316   - server and try it out. Type: apachectl restart
317   -
318   -4b. Setting up the server. (Static Module)
319   -
320   - You should now have a new httpd binary. Shut down your existing server,
321   - if you have one, and copy this new binary overtop of it. Perhaps make
322   - a backup of your previous one first. Then edit your conf/httpd.conf file
323   - and add the line:
324   -
325   - AddType application/x-httpd-php .php
326   -
327   - There is also an interesting feature which can be quite instructive and
328   - helpful while debugging. That is the option of having colour syntax
329   - highlighting. To enable this, add the following line:
330   -
331   - AddType application/x-httpd-php-source .phps
332   -
333   - Any file ending in .phps will now be displayed with full colour syntax
334   - highlighting instead of being executed.
335   -
336   - Note that on some older server setups, the AddType lines are in the
337   - conf/srm.conf file instead of conf/httpd.conf.
338   -
339   - Note! If a line has a # at the beginning, then it is commented out
340   - and you need to remove the # for that line to take effect.
341   -