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

'xmlrpc_epi_0_51_merge_pt'.
  • Loading branch information...
commit 2b196a74449db9221a81cb365523f176f14826bb 1 parent 2154e7b
SVN Migration authored

Showing 1,959 changed files with 0 additions and 65,328 deletions. Show diff stats Hide diff stats

  1. +0 233 CODING_STANDARDS
  2. +0 2  CREDITS
  3. +0 16,054 ChangeLog
  4. BIN  ChangeLog.1999.gz
  5. BIN  ChangeLog.2000.gz
  6. BIN  ChangeLog.2001.gz
  7. +0 473 EXTENSIONS
  8. +0 411 INSTALL
  9. +0 64 LICENSE
  10. +0 18 Makefile.frag
  11. +0 74 Makefile.global
  12. +0 2,075 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 154 README.SELF-CONTAINED-EXTENSIONS
  19. +0 367 README.STREAMS
  20. +0 121 README.SUBMITTING_PATCH
  21. +0 175 README.TESTING
  22. +0 123 README.UNIX-BUILD-SYSTEM
  23. +0 126 README.Zeus
  24. +0 170 TODO
  25. +0 3  TODO.BUILDv5
  26. +0 26 TSRM/LICENSE
  27. +0 6 TSRM/Makefile.am
  28. +0 2  TSRM/TODO
  29. +0 603 TSRM/TSRM.c
  30. +0 186 TSRM/TSRM.dsp
  31. +0 150 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 160 TSRM/threads.m4
  39. +0 124 TSRM/tsrm.m4
  40. +0 9 TSRM/tsrm_config.nw.h
  41. +0 15 TSRM/tsrm_config.w32.h
  42. +0 60 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 864 TSRM/tsrm_virtual_cwd.c
  48. +0 241 TSRM/tsrm_virtual_cwd.h
  49. +0 359 TSRM/tsrm_win32.c
  50. +0 107 TSRM/tsrm_win32.h
  51. +0 9,354 Zend/ChangeLog
  52. +0 186 Zend/FlexLexer.h
  53. +0 56 Zend/LICENSE
  54. +0 51 Zend/Makefile.am
  55. +0 190 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 663 Zend/ZEND_CHANGES
  61. +0 510 Zend/Zend.dsp
  62. +0 202 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,628 Zend/flex.skl
  71. +0 339 Zend/tests/zend2.php
  72. +0 883 Zend/zend.c
  73. +0 560 Zend/zend.h
  74. BIN  Zend/zend.ico
  75. +0 1,425 Zend/zend_API.c
  76. +0 429 Zend/zend_API.h
  77. +0 755 Zend/zend_alloc.c
  78. +0 141 Zend/zend_alloc.h
  79. +0 1,308 Zend/zend_builtin_functions.c
  80. +0 26 Zend/zend_builtin_functions.h
  81. +0 3,031 Zend/zend_compile.c
  82. +0 708 Zend/zend_compile.h
  83. +0 79 Zend/zend_config.nw.h
  84. +0 90 Zend/zend_config.w32.h
  85. +0 280 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,204 Zend/zend_execute.c
  91. +0 167 Zend/zend_execute.h
  92. +0 945 Zend/zend_execute_API.c
  93. +0 32 Zend/zend_execute_locks.h
  94. +0 218 Zend/zend_extensions.c
  95. +0 116 Zend/zend_extensions.h
  96. +0 140 Zend/zend_fast_cache.h
  97. +0 260 Zend/zend_globals.h
  98. +0 109 Zend/zend_globals_macros.h
  99. +0 1,326 Zend/zend_hash.c
  100. +0 272 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 487 Zend/zend_ini.c
  106. +0 199 Zend/zend_ini.h
  107. +0 236 Zend/zend_ini_parser.y
  108. +0 12 Zend/zend_ini_scanner.h
  109. +0 228 Zend/zend_ini_scanner.l
  110. +0 15 Zend/zend_istdiostream.h
  111. +0 834 Zend/zend_language_parser.y
  112. +0 41 Zend/zend_language_scanner.h
  113. +0 1,504 Zend/zend_language_scanner.l
  114. +0 368 Zend/zend_list.c
  115. +0 111 Zend/zend_list.h
  116. +0 308 Zend/zend_llist.c
  117. +0 79 Zend/zend_llist.h
  118. +0 333 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 256 Zend/zend_object_handlers.c
  123. +0 79 Zend/zend_object_handlers.h
  124. +0 122 Zend/zend_objects.c
  125. +0 10 Zend/zend_objects.h
  126. +0 258 Zend/zend_objects_API.c
  127. +0 49 Zend/zend_objects_API.h
  128. +0 409 Zend/zend_opcode.c
  129. +0 1,758 Zend/zend_operators.c
  130. +0 272 Zend/zend_operators.h
  131. +0 110 Zend/zend_ptr_stack.c
  132. +0 58 Zend/zend_ptr_stack.h
  133. +0 127 Zend/zend_qsort.c
  134. +0 26 Zend/zend_qsort.h
  135. +0 40 Zend/zend_sprintf.c
  136. +0 164 Zend/zend_stack.c
  137. +0 47 Zend/zend_stack.h
Sorry, we could not display the entire diff because too many files (1,959) changed.
233 CODING_STANDARDS
... ... @@ -1,233 +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   -[1] Functions that are given pointers to resources should not free them
17   -
18   -For instance, function int mail(char *to, char *from) should NOT free
19   -to and/or from.
20   -Exceptions:
21   -
22   - - The function's designated behavior is freeing that resource. E.g. efree()
23   - - The function is given a boolean argument, that controls whether or not
24   - the function may free its arguments (if true - the function must free its
25   - arguments, if false - it must not)
26   - - Low-level parser routines, that are tightly integrated with the token
27   - cache and the bison code for minimum memory copying overhead.
28   -
29   -[2] Functions that are tightly integrated with other functions within the
30   - same module, and rely on each other non-trivial behavior, should be
31   - documented as such and declared 'static'. They should be avoided if
32   - possible.
33   -
34   -[3] Use definitions and macros whenever possible, so that constants have
35   - meaningful names and can be easily manipulated. The only exceptions
36   - to this rule are 0 and 1, when used as false and true (respectively).
37   - Any other use of a numeric constant to specify different behavior
38   - or actions should be done through a #define.
39   -
40   -[4] When writing functions that deal with strings, be sure to remember
41   - that PHP holds the length property of each string, and that it
42   - shouldn't be calculated with strlen(). Write your functions in a such
43   - a way so that they'll take advantage of the length property, both
44   - for efficiency and in order for them to be binary-safe.
45   - Functions that change strings and obtain their new lengths while
46   - doing so, should return that new length, so it doesn't have to be
47   - recalculated with strlen() (e.g. php_addslashes())
48   -
49   -[5] Use php_error() to report any errors/warnings during code execution.
50   - Use descriptive error messages, and try to avoid using identical
51   - error strings for different stages of an error. For example,
52   - if in order to obtain a URL you have to parse the URL, connect,
53   - and retreive the text, assuming something can go wrong at each
54   - of these stages, don't report an error "Unable to get URL"
55   - on all of them, but instead, write something like "Unable
56   - to parse URL", "Unable to connect to URL server" and "Unable
57   - to fetch URL text", respectively.
58   -
59   -[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
60   - check its man page again, and only then, consider using it, and even then,
61   - try avoiding it.
62   -
63   -[7] Use ZEND_* macros instead of PHP_* macros. Use of PHP_* macros is not
64   - recommended. Since most of the PHP_* macros are ZEND_* macro aliases, using
65   - the PHP_* macros makes browsing the source code with a tag search harder.
66   -
67   -[8] Use assert(). assert.h is included in php.h if it is available. Not only
68   - does good assertion catch bugs, but it also helps with code readability.
69   - - Do not use assert for error handling. Use assert only for the
70   - condition that must be always true.
71   - - Do not use assignments in assert conditions. If you assign inside an
72   - assert condition, you risk an elusive bug that would be very difficult
73   - to spot in a debug build, due to the side effect of the assignment.
74   - Function calls in assert conditions may also cause this problem, if
75   - they modify one of their arguments or global variables.
76   -
77   -Naming Conventions
78   -------------------
79   -
80   -[1] Function names for user-level functions should be enclosed with in
81   - the PHP_FUNCTION() macro. They should be in lowercase, with words
82   - underscore delimited, with care taken to minimize the letter count.
83   - Abbreviations should not be used when they greatly decrease the
84   - readability of the function name itself.
85   -
86   - Good:
87   - 'mcrypt_enc_self_test'
88   - 'mysql_list_fields'
89   -
90   - Ok:
91   - 'mcrypt_module_get_algo_supported_key_sizes'
92   - (could be 'mcrypt_mod_get_algo_sup_key_sizes'?)
93   - 'get_html_translation_table'
94   - (could be 'html_get_trans_table'?)
95   -
96   - Bad:
97   - 'hw_GetObjectByQueryCollObj'
98   - 'pg_setclientencoding'
99   - 'jf_n_s_i'
100   -
101   -
102   -[2] If they are part of a "parent set" of functions, that parent should
103   - be included in the user function name, and should be clearly related
104   - to the parent program or function family. This should be in the form
105   - of parent_*.
106   -
107   - A family of 'foo' functions, for example:
108   - Good:
109   - 'foo_select_bar'
110   - 'foo_insert_baz'
111   - 'foo_delete_baz'
112   -
113   - Bad:
114   - 'fooselect_bar'
115   - 'fooinsertbaz'
116   - 'delete_foo_baz'
117   -
118   -[3] Function names used by user functions should be prefixed
119   - with "_php_", and followed by a word or an underscore-delimited list of
120   - words, in lowercase letters, that describes the function. If applicable,
121   - they should be declared 'static'.
122   -
123   -[4] Variable names must be meaningful. One letter variable names must be
124   - avoided, except for places where the variable has no real meaning or
125   - a trivial meaning (e.g. for (i=0; i<100; i++) ...).
126   -
127   -[5] Variable names should be in lowercase. Use underscores to separate
128   - between words.
129   -
130   -
131   -Syntax and indentation
132   -----------------------
133   -
134   -[1] Never use C++ style comments (i.e. // comment). Always use C-style
135   - comments instead. PHP is written in C, and is aimed at compiling
136   - under any ANSI-C compliant compiler. Even though many compilers
137   - accept C++-style comments in C code, you have to ensure that your
138   - code would compile with other compilers as well.
139   - The only exception to this rule is code that is Win32-specific,
140   - because the Win32 port is MS-Visual C++ specific, and this compiler
141   - is known to accept C++-style comments in C code.
142   -
143   -[2] Use K&R-style. Of course, we can't and don't want to
144   - force anybody to use a style he or she is not used to, but,
145   - at the very least, when you write code that goes into the core
146   - of PHP or one of its standard modules, please maintain the K&R
147   - style. This applies to just about everything, starting with
148   - indentation and comment styles and up to function declaration
149   - syntax.
150   -
151   - (see also http://www.tuxedo.org/~esr/jargon/html/entry/indent-style.html)
152   -
153   -[3] Be generous with whitespace and braces. Always prefer:
154   -
155   - if (foo) {
156   - bar;
157   - }
158   -
159   - to:
160   -
161   - if(foo)bar;
162   -
163   - Keep one empty line between the variable declaration section and
164   - the statements in a block, as well as between logical statement
165   - groups in a block. Maintain at least one empty line between
166   - two functions, preferably two.
167   -
168   -[4] When indenting, use the tab character. A tab is expected to represent
169   - four spaces. It is important to maintain consistency in indenture so
170   - that definitions, comments, and control structures line up correctly.
171   -
172   -Documentation and Folding Hooks
173   --------------------------------
174   -
175   -In order to make sure that the online documentation stays in line with
176   -the code, each user-level function should have its user-level function
177   -prototype before it along with a brief one-line description of what the
178   -function does. It would look like this:
179   -
180   -/* {{{ proto int abs(int number)
181   - Returns the absolute value of the number */
182   -PHP_FUNCTION(abs)
183   -{
184   - ...
185   -}
186   -/* }}} */
187   -
188   -The {{{ symbols are the default folding symbols for the folding mode in
189   -Emacs and vim (set fdm=marker). Folding is very useful when dealing with
190   -large files because you can scroll through the file quickly and just unfold
191   -the function you wish to work on. The }}} at the end of each function marks
192   -the end of the fold, and should be on a separate line.
193   -
194   -The "proto" keyword there is just a helper for the doc/genfuncsummary script
195   -which generates a full function summary. Having this keyword in front of the
196   -function prototypes allows us to put folds elsewhere in the code without
197   -messing up the function summary.
198   -
199   -Optional arguments are written like this:
200   -
201   -/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
202   - Returns a header object with the defined parameters */
203   -
204   -And yes, please keep the prototype on a single line, even if that line
205   -is massive.
206   -
207   -New and Experimental Functions
208   ------------------------------------
209   -To reduce the problems normally associated with the first public
210   -implementation of a new set of functions, it has been suggested
211   -that the first implementation include a file labeled 'EXPERIMENTAL'
212   -in the function directory, and that the functions follow the
213   -standard prefixing conventions during their initial implementation.
214   -
215   -The file labelled 'EXPERIMENTAL' should include the following
216   -information:
217   - Any authoring information (known bugs, future directions of the module).
218   - Ongoing status notes which may not be appropriate for CVS comments.
219   -
220   -Aliases & Legacy Documentation
221   ------------------------------------
222   -You may also have some deprecated aliases with close to duplicate
223   -names, for example, somedb_select_result and somedb_selectresult. For
224   -documentation purposes, these will only be documented by the most
225   -current name, with the aliases listed in the documentation for
226   -the parent function. For ease of reference, user-functions with
227   -completely different names, that alias to the same function (such as
228   -highlight_file and show_source), will be separately documented. The
229   -proto should still be included, describing which function is aliased.
230   -
231   -Backwards compatible functions and names should be maintained as long
232   -as the code can be reasonably be kept as part of the codebase. See
233   -/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
16,054 ChangeLog
0 additions, 16,054 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.
473 EXTENSIONS
... ... @@ -1,473 +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   -MAINTENANCE: Unknown
151   -STATUS: Working
152   --------------------------------------------------------------------------------
153   -EXTENSION: pgsql
154   -PRIMARY MAINTAINER: Yasuo Ohgaki <yohgaki@php.net>
155   -MAINTENANCE: Maintained
156   -STATUS: Working
157   -COMMENT: Use PostgreSQL 7.0.x or later. PostgreSQL 6.5.3 or less have fatal bug.
158   --------------------------------------------------------------------------------
159   -EXTENSION: sybase
160   -MAINTENANCE: Unknown
161   -STATUS: Not Working
162   --------------------------------------------------------------------------------
163   -EXTENSION: sybase_ct
164   -MAINTENANCE: Unknown
165   -STATUS: Working
166   --------------------------------------------------------------------------------
167   -EXTENSION: oci8
168   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
169   -MAINTENANCE: Maintained
170   -STATUS: Working
171   --------------------------------------------------------------------------------
172   -EXTENSION: odbc
173   -PRIMARY MAINTAINER: Daniel R. Kalowsky <kalowsky@php.net>
174   -MAINTENANCE: Maintained
175   -STATUS: Working
176   -COMMENT: Working except for persistent connections
177   --------------------------------------------------------------------------------
178   -EXTENSION: oracle
179   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
180   -MAINTENANCE: Maintained
181   -STATUS: Working
182   -COMMENT: Using the new OCI8 driver is encouraged where possible.
183   --------------------------------------------------------------------------------
184   -
185   -
186   -== Other extensions ==
187   -
188   --------------------------------------------------------------------------------
189   -EXTENSION: aspell
190   -MAINTENANCE: Unknown
191   -STATUS: Working
192   -COMMENT: For aspell .27 and greater, check out the pspell extension
193   --------------------------------------------------------------------------------
194   -EXTENSION: bcmath
195   -MAINTENANCE: Unknown
196   -STATUS: Unknown
197   --------------------------------------------------------------------------------
198   -EXTENSION: bz2
199   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
200   -MAINTENANCE: Maintained
201   -STATUS: Working
202   -SINCE: 4.0.3
203   --------------------------------------------------------------------------------
204   -EXTENSION: calendar
205   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
206   -MAINTENANCE: Odd Fixes
207   -STATUS: Working
208   --------------------------------------------------------------------------------
209   -EXTENSION: com
210   -PRIMARY MAINTAINER: Harald Radi <h.radi@nme.at>
211   -MAINTENANCE: Maintained
212   -STATUS: Working
213   --------------------------------------------------------------------------------
214   -EXTENSION: cpdf
215   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
216   -MAINTENANCE: Maintained
217   -STATUS: Working
218   --------------------------------------------------------------------------------
219   -EXTENSION: crack
220   -MAINTENANCE: Unknown
221   -STATUS: Experimental
222   -SINCE: 4.0.5
223   --------------------------------------------------------------------------------
224   -EXTENSION: ctype
225   -PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
226   -MAINTENANCE: Maintained
227   -STATUS: Working
228   --------------------------------------------------------------------------------
229   -EXTENSION: curl
230   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
231   -MAINTENANCE: Maintained
232   -STATUS: Working
233   -SINCE: 4.0.2
234   --------------------------------------------------------------------------------
235   -EXTENSION: cybercash
236   -PRIMARY MAINTAINER: Evan Klinger <evan715@sirius.com>
237   -MAINTENANCE: Maintained
238   -STATUS: Unknown
239   --------------------------------------------------------------------------------
240   -EXTENSION: domxml
241   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
242   -MAINTENANCE: Maintained
243   -STATUS: Experimental
244   --------------------------------------------------------------------------------
245   -EXTENSION: dotnet
246   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
247   -MAINTENANCE: Maintained
248   -STATUS: Experimental
249   --------------------------------------------------------------------------------
250   -EXTENSION: exif
251   -PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>
252   -MAINTENANCE: Maintained
253   -STATUS: Working
254   -SINCE: 4.2
255   --------------------------------------------------------------------------------
256   -EXTENSION: fdf
257   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
258   -MAINTENANCE: Maintained
259   -STATUS: Unknown
260   --------------------------------------------------------------------------------
261   -EXTENSION: ftp
262   -MAINTENANCE: Unknown
263   -STATUS: Unknown
264   --------------------------------------------------------------------------------
265   -EXTENSION: gd
266   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
267   -MAINTENANCE: Maintained
268   -STATUS: Working
269   --------------------------------------------------------------------------------
270   -EXTENSION: gettext
271   -MAINTENANCE: Unknown
272   -STATUS: Working
273   --------------------------------------------------------------------------------
274   -EXTENSION: gmp
275   -MAINTENANCE: Unknown
276   -STATUS: Unknown
277   -SINCE: 4.0.4
278   --------------------------------------------------------------------------------
279   -EXTENSION: icap
280   -MAINTENANCE: Unknown
281   -STATUS: Obsolete
282   --------------------------------------------------------------------------------
283   -EXTENSION: imap
284   -PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
285   -MAINTENANCE: Odd Fixes
286   -STATUS: Working
287   --------------------------------------------------------------------------------
288   -EXTENSION: java
289   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
290   -MAINTENANCE: Maintained
291   -STATUS: Working
292   --------------------------------------------------------------------------------
293   -EXTENSION: ldap
294   -PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>
295   -MAINTENANCE: Maintained
296   -STATUS: Working
297   --------------------------------------------------------------------------------
298   -EXTENSION: mbstring
299   -PRIMARY MAINTAINER: Rui Hirokawa <hirokawa@php.net>
300   -MAINTENANCE: Maintained
301   -STATUS: Working
302   --------------------------------------------------------------------------------
303   -EXTENSION: mcal
304   -PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
305   -MAINTENANCE: Odd Fixes
306   -STATUS: Working
307   --------------------------------------------------------------------------------
308   -EXTENSION: mcrypt
309   -PRIMARY MAINTAINER: Derick Rethans <d.rethans@jdimedia.nl>
310   -MAINTENANCE: Maintained
311   -STATUS: Working
312   --------------------------------------------------------------------------------
313   -EXTENSION: mhash
314   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
315   -MAINTENANCE: Maintained
316   -STATUS: Working
317   --------------------------------------------------------------------------------
318   -EXTENSION: muscat
319   -PRIMARY MAINTAINER: Sam Liddicott <sam@ananova.com>
320   -MAINTENANCE: Maintained
321   -STATUS: Working
322   -SINCE: 4.0.5
323   -COMMENT: Not tested against windows, only core API completed, rest under development
324   --------------------------------------------------------------------------------
325   -EXTENSION: openssl
326   -PRIMARY MAINTAINER: Wez Furlong <wez@php.net>
327   -MAINTENANCE: Maintained
328   -STATUS: Experimental
329   -SINCE: 4.0.4
330   --------------------------------------------------------------------------------
331   -EXTENSION: overload
332   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
333   -MAINTENANCE: Maintained
334   -STATUS: Experimental
335   --------------------------------------------------------------------------------
336   -EXTENSION: pcre
337   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
338   -MAINTENANCE: Maintained
339   -STATUS: Working
340   --------------------------------------------------------------------------------
341   -EXTENSION: pdf
342   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
343   -MAINTENANCE: Maintained
344   -STATUS: Working
345   --------------------------------------------------------------------------------
346   -EXTENSION: pfpro
347   -PRIMARY MAINTAINER: David Croft <david@infotrek.co.uk>
348   -MAINTENANCE: Maintained
349   -STATUS: Working
350   -SINCE: 4.0.2
351   --------------------------------------------------------------------------------
352   -EXTENSION: posix
353   -PRIMARY MAINTAINER: Kristian K�hntopp <kris@koehntopp.de>
354   -MAINTENANCE: Maintained
355   -STATUS: Working
356   --------------------------------------------------------------------------------
357   -EXTENSION: printer
358   -PRIMARY MAINTAINER: Daniel Beulshausen <daniel@php4win.de>
359   -MAINTENANCE: Maintained
360   -STATUS: Working
361   -SINCE: 4.0.4
362   -COMMENT: Only for Win32
363   --------------------------------------------------------------------------------
364   -EXTENSION: pspell
365   -PRIMARY MAINTAINER: Vlad Krupin <phpdevel@echospace.com>
366   -MAINTENANCE: Unknown
367   -STATUS: Unknown
368   -SINCE: 4.0.2
369   --------------------------------------------------------------------------------
370   -EXTENSION: qtdom
371   -MAINTENANCE: Unknown
372   -STATUS: Experimental
373   -SINCE: 4.0.4
374   --------------------------------------------------------------------------------
375   -EXTENSION: readline
376   -MAINTENANCE: Unknown
377   -STATUS: Unknown
378   --------------------------------------------------------------------------------
379   -EXTENSION: recode
380   -PRIMARY MAINTAINER: Kristian K�hntopp <kris@koehntopp.de>
381   -MAINTENANCE: Maintained
382   -STATUS: Working
383   --------------------------------------------------------------------------------
384   -EXTENSION: sablot
385   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
386   -MAINTENANCE: Obsolete
387   -STATUS: Experimental
388   -SINCE: 4.0.3
389   --------------------------------------------------------------------------------
390   -EXTENSION: satellite
391   -PRIMARY MAINTAINER: David Eriksson <eriksson@php.net>
392   -MAINTENANCE: Odd Fixes
393   -STATUS: Experimental
394   -SINCE: 4.0.3
395   --------------------------------------------------------------------------------
396   -EXTENSION: session
397   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
398   -MAINTENANCE: Maintained
399   -STATUS: Working
400   --------------------------------------------------------------------------------
401   -EXTENSION: shmop
402   -PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
403   -MAINTENANCE: Maintained
404   -STATUS: Experimental
405   -SINCE: 4.0.3
406   --------------------------------------------------------------------------------
407   -EXTENSION: snmp
408   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
409   -MAINTENANCE: Odd Fixes
410   -STATUS: Working
411   --------------------------------------------------------------------------------
412   -EXTENSION: sockets
413   -PRIMARY MAINTAINER: Chris Vandomelen <chrisv@b0rked.dhs.org>
414   -MAINTENANCE: Maintained
415   -STATUS: Experimental
416   -SINCE: 4.0.2
417   --------------------------------------------------------------------------------
418   -EXTENSION: swf
419   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
420   -MAINTENANCE: Maintained
421   -STATUS: Depreciated (Use the ming swf extension instead)
422   -COMMENT: Only for Unix (won't change)
423   --------------------------------------------------------------------------------
424   -EXTENSION: sysvsem
425   -MAINTENANCE: Unknown
426   -STATUS: Unknown
427   --------------------------------------------------------------------------------
428   -EXTENSION: sysvshm
429   -MAINTENANCE: Unknown
430   -STATUS: Working
431   --------------------------------------------------------------------------------
432   -EXTENSION: vpopmail
433   -MAINTENANCE: Unknown
434   -STATUS: Experimental
435   -SINCE: 4.0.5
436   --------------------------------------------------------------------------------
437   -EXTENSION: wddx
438   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
439   -MAINTENANCE: Maintained
440   -STATUS: Working
441   --------------------------------------------------------------------------------
442   -EXTENSION: xml
443   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
444   -MAINTENANCE: Maintained
445   -STATUS: Working
446   --------------------------------------------------------------------------------
447   -EXTENSION: xslt
448   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
449   -MAINTENANC: Maintained
450   -STATUS: Working
451   --------------------------------------------------------------------------------
452   -EXTENSION: yaz
453   -PRIMARY MAINTAINER: Adam Dickmeiss <adam@indexdata.dk>
454   -MAINTENANCE: Maintained
455   -STATUS: Unknown
456   -SINCE: 4.0.1
457   --------------------------------------------------------------------------------
458   -EXTENSION: yp
459   -MAINTENANCE: Unknown
460   -STATUS: Unknown
461   --------------------------------------------------------------------------------
462   -EXTENSION: zlib
463   -PRIMARY MAINTAINER: Stefan Roehrich <sr@linux.de>
464   -MAINTENANCE: Maintained
465   -STATUS: Working
466   --------------------------------------------------------------------------------
467   -EXTENSION: zziplib
468   -PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
469   -MAINTENANCE: Maintained
470   -STATUS: Experimental
471   -SINCE: 4.0.5
472   --------------------------------------------------------------------------------
473   -# iptc?
411 INSTALL
... ... @@ -1,411 +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   -Next you must copy php.ini-dist to the appropriate place (normally
76   -/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
77   -
78   -The only thing left to do is to edit your httpd.conf file and make sure the
79   -PHP 4 mime type is there and uncommented. You need a line that looks like
80   -this:
81   -
82   - AddType application/x-httpd-php .php
83   -
84   -Then restart your server (apachectl restart) and you should be able to
85   -serve up PHP files now. Make a test file called test.php and put some
86   -PHP tags in it. Like <?phpinfo()?>, for example.
87   -
88   -
89   -QUICK INSTALL (Static)
90   -
91   -$ gunzip -c apache_1.3.x.tar.gz | tar xf -
92   -$ cd apache_1.3.x
93   -$ ./configure
94   -$ cd ..
95   -
96   -$ gunzip -c php-4.x.y.tar.gz | tar xf -
97   -$ cd php-4.x.y
98   -$ ./configure --with-mysql --with-apache=../apache_1.3.x
99   -$ make
100   -$ make install
101   -
102   -$ cd ../apache_1.3.x
103   -$ ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
104   - (The above line is correct! Yes, we know libphp4.a does not exist at this
105   - stage. It isn't supposed to. It will be created.)
106   -$ make
107   - (you should now have an httpd binary which you can copy to your Apache bin dir if
108   - is is your first install then you need to "make install" as well)
109   -$ cd ../php-4.x.y
110   -$ cp php.ini-dist /usr/local/lib/php.ini
111   -You can edit /usr/local/lib/php.ini file to set PHP options.
112   -Edit your httpd.conf or srm.conf file and add:
113   - AddType application/x-httpd-php .php
114   -
115   -
116   -VERBOSE INSTALL
117   -
118   -Chances are you are reading this because the quick install steps above
119   -did not work for you. If this is the case, congratulations, you are
120   -among the elite few that actually reads documentation. It really is
121   -not a difficult install and once you have done it once you will fly
122   -through it.
123   -
124   -Installing PHP can be done in four simple steps:
125   -
126   -1. Unpack your distribution file.
127   -
128   - You will have downloaded a file named something like php-4.x.y.tar.gz.
129   - Unzip this file with a command like: gunzip php-4.x.y.tar.gz
130   -
131   - Next you have to untar it with: tar -xvf php-4.x.y.tar
132   -
133   - This will create a php-4.x.y directory. cd into this new directory.
134   -
135   -2a. Configure PHP (Dynamic Module) - Skip to 2b if you wish to build
136   - a static module
137   -
138   - You now have to choose the options you would like. There are quite
139   - a few of them. To see a list, type: ./configure --help
140   -
141   - The only options that you are likely to want to use are the ones in
142   - the last section entitled, "--enable and --with options recognized:"
143   -
144   - A popular choice is to build the Apache module version. In order to
145   - build PHP as a dynamic module for Apache-1.3.x you have to first have
146   - Apache installed. Assuming Apache is already installed, make sure
147   - the shared object module is enabled. To check this, type: httpd -l
148   - You should see something like:
149   -
150   - Compiled-in modules:
151   - http_core.c
152   - mod_so.c
153   -
154   - You will most likely have a lot more modules than what is shown here.
155   - As long as mod_so.c shows up in the list, PHP should be happy.
156   -
157   - Now, type: ./configure --with-mysql --with-apxs
158   -
159   - If you get an error telling you that the apxs script could not be found,
160   - look for it on your system and if you find it, provide the full path to it
161   - as: --with-apxs=/path/to/apxs
162   -
163   - You might also want other flags on this configure line. --with-mysql
164   - is just an example.
165   -
166   - There are a few things that can go wrong during this configure step.
167   - The most common is that you have asked for an option and that the
168   - configure script can not find the files required to enable this
169   - option in PHP. Chances are you can provide the full path to the
170   - base directory under which the related files were installed. For
171   - example, if you have installed the GD library in /opt/gd which means
172   - that /opt/gd/include has your GD header files and /opt/gd/lib contains
173   - your GD library files, you would use --with-gd=/opt/gd
174   -
175   - Skip to step 3 for compilation and installation instructions.
176   -
177   -2b. Configure PHP (Static Module) - Skip if you performed 2a
178   -
179   - You now have to choose the options you would like. There are quite
180   - a few of them. To see a list, type: ./configure --help
181   -
182   - The only options that you are likely to want to use are the ones in
183   - the last section entitled, "--enable and --with options recognized:"
184   -
185   - A popular choice is to build the Apache module version. You need
186   - to know where the source code directory for your Apache server is
187   - located. Then use an option like: --with-apache=/usr/local/src/apache
188   - if that is your Apache source code directory. If you only specify
189   - --with-apache, then it will default to look for your Apache source
190   - in /usr/local/etc/httpd.
191   -
192   - NOTE: The directory you specify should be the top-level of the
193   - unpacked Apache (or Stronghold) distribution. The configure program
194   - will automatically look for httpd.h in different directories under that
195   - location depending on which version of Apache, including Stronghold,
196   - you are running.
197   -
198   - For MySQL support, since newer versions of MySQL installs its various
199   - components under /usr/local, this is the default. If you have
200   - changed the location you can specify it with: --with-mysql=/opt/local
201   - for example. Otherwise just use: --with-mysql
202   -
203   - *NOTE* If you are using Apache 1.3b6 or later, you should run the
204   - Apache Configure script at least once before compiling PHP. It
205   - doesn't matter how you have Apache configured at this point.
206   -
207   - Skip to step 3b at this point.
208   -
209   -3. Compile and install the files. Simply type: make install
210   -
211   -3a. Dynamic Module Installation
212   -
213   - Nothing else is needed here. Proceed to step 4a.
214   -
215   -3b. Static Module Installation
216   -
217   - For the Apache module version this will copy the appropriate files
218   - to the src/modules/php4 directory in your Apache distribution if
219   - you are using Apache 1.3.x. If you are still running Apache 1.2.x
220   - these files will be copied directly to the main src directory.
221   -
222   - For Apache 1.3b6 and later, you can use the new APACI configuration
223   - mechanism. To automatically build Apache with PHP support, use:
224   -
225   - cd apache_1.3.x
226   - ./configure --prefix=/<path>/apache \
227   - --activate-module=src/modules/php4/libphp4.a
228   - make
229   - make install
230   -
231   - If you do not wish to use this new configuration tool, the old
232   - install procedure (src/Configure) will work fine.
233   -
234   - If you are using the old Apache ./Configure script, you will have to
235   - edit the Apache src/Configuration file manually. If you do not have
236   - this file, copy Configuration.tmpl to Configuration.
237   -
238   - For Apache 1.3.x add:
239   -
240   - AddModule modules/php4/libphp4.a
241   -
242   - For Apache 1.3.x don't do anything else. Just add this line and then
243   - run "./Configure" followed by "make".
244   -
245   - For Apache 1.2.x add:
246   -
247   - Module php4_module mod_php4.o
248   -
249   - For Apache 1.2.x you will also have to look in the libphp4.module file,
250   - which was copied to the src directory. The EXTRA_LIBS line in the Apache
251   - Configuration file needs to be set to use the same libs as specified on
252   - the LIBS line in libphp4.module. You also need to make sure to add
253   - "-L." to the beginning of the EXTRA_LIBS line.
254   -
255   - So, as an example, your EXTRA_LIBS line might look like:
256   -
257   - EXTRA_LIBS=-L. -lphp4 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
258   -
259   - NOTE: You should not enclose the EXTRA_LIBS line in double-quotes, as it
260   - is in the libphp4.module file.
261   -
262   - Also, look at the RULE_WANTHSREGEX setting in the libphp4.module file
263   - and set the WANTHSREGEX directive accordingly in your Configuration file.
264   - This last step applies to versions of Apache prior to 1.3b3.
265   -
266   - This is a bit of a hassle, but should serve as incentive to move to
267   - Apache 1.3.x where this step has been eliminated.
268   -
269   - Once you are satisfied with your Configuration settings, type: ./Configure
270   - If you get errors, chances are that you forgot a library or made a typo
271   - somewhere. Re-edit Configuration and try again. If it goes well,
272   - type: make
273   -
274   - Assuming it compiles without errors, proceed to step 4b.
275   -
276   -4a. Setting up the server. (Dynamic Module)
277   -
278   - The make install command in step 3 should have done most of your
279   - work for you. It actually edits your httpd.conf file and tries to
280   - enable the dynamic PHP module. To verify this, look for a line that
281   - looks like this:
282   -
283   - LoadModule php4_module libexec/libphp4.so
284   -
285   - The actual path before the libphp4.so part might differ slightly. This
286   - is likely fine. If you are paranoid you can examine the output from the
287   - make install step to see where the libphp4.so file was actually put and
288   - place the full path to this file on this LoadModule line.
289   -
290   - If somewhere in your httpd.conf file you have a ClearModuleList line
291   - then you also need this line:
292   -
293   - AddModule mod_php4.c
294   -
295   - And finally you need to tell Apache which file extension should trigger
296   - PHP. You do this by creating a special mime type and associating it
297   - with an extension. We suggest using:
298   -
299   - AddType application/x-httpd-php .php
300   -
301   - You are however free to use any extension you wish, including .html.
302   -
303   - Note! If a line has a # at the beginning, then it is commented out
304   - and you need to remove the # for that line to take effect.
305   -
306   - Finally you need to copy php.ini-dist to the appropriate place
307   - (normally /usr/local/lib/php.ini) and edit if necessary.
308   -
309   - Once you have made these changes you should be ready to restart your
310   - server and try it out. Type: apachectl restart
311   -
312   -4b. Setting up the server. (Static Module)
313   -
314   - You should now have a new httpd binary. Shut down your existing server,
315   - if you have one, and copy this new binary overtop of it. Perhaps make
316   - a backup of your previous one first. Then edit your conf/httpd.conf file
317   - and add the line:
318   -
319   - AddType application/x-httpd-php .php
320   -
321   - There is also an interesting feature which can be quite instructive and
322   - helpful while debugging. That is the option of having colour syntax
323   - highlighting. To enable this, add the following line:
324   -
325   - AddType application/x-httpd-php-source .phps
326   -
327   - Any file ending in .phps will now be displayed with full colour syntax
328   - highlighting instead of being executed.
329   -
330   - Note that on some older server setups, the AddType lines are in the
331   - conf/srm.conf file instead of conf/httpd.conf.
332   -
333   - Note! If a line has a # at the beginning, then it is commented out
334   - and you need to remove the # for that line to take effect.
335   -
336   - When you are finished making changes to your httpd.conf file, you need
337   - to copy php.ini-dist to the appropriate place (normally
338   - /usr/local/lib/php.ini) and edit if necessary. You can then
339   - start up your server.
340   -
341   -5. Testing it all worked
342   -
343   - Create a test file named test.php in your web tree somewhere and
344   - put some test PHP tags in it. <?phpinfo()?> is a good first test.
345   - This tag tells PHP to do a braindump and tells you all sorts of things
346   - about itself.
347   -
348   -
349   -WHY DISABLING -fPIC WORKS ON LINUX
350   -
351   - From: Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
352   - To: glibc-linux@ricardo.ecn.wfu.edu
353   - Subject: Re: Shared library -shared vs. -fpic
354   -
355   - [In reply to Kaz Kylheku <kaz@ashi.footprints.net>]
356   -
357   - > PIC stands for Position-Independent Code.
358   -
359   - Correct.
360   -
361   - > Code isn't position-independent (or ``relocatable'') cannot be
362   - > loaded at an arbitrary address;
363   -
364   - Wrong.
365   -
366   - > it requires some references to be patched at load time.
367   -
368   - Correct.
369   -
370   - > Shared libraries need to be relocatable because it's not known
371   - > beforehand what address they will be loaded at
372   -
373   - Correct, depending on the meaning of "relocatable". PIC code typically
374   - does not contain relocations; that's why its position-independent.
375   -
376   - > Just because you don't specify -fPIC doesn't mean that the compiler
377   - > won't emit position-independent code; the option prevents it from
378   - > emitting position-dependent code in situations where it otherwise
379   - > would.
380   -
381   - Correct. However, a non-trivial shared library typically won't be
382   - position-independent unless explicitly compiled with
383   - -fPIC. Linux/glibc indeed does not require a shared library to be
384   - position-independent; instead, it will perform the relocations in the
385   - binary, even if they refer to code pages. As a result, those relocated
386   - pages won't be shared across processes, anymore.
387   -
388   - Regards,
389   - Martin
390   -
391   -USING PHP 3 AND PHP 4 AS CONCURRENT APACHE MODULES
392   -
393   - With some (newer) installations of Apache, it's possible to compile both
394   - PHP 3 and PHP 4, and run them concurrently.
395   -
396   - Note, it's only really wise to do this if you need to use the PHP 3 engine
397   - to maintain backwards compatibility.
398   -
399   - To enable it, configure PHP 3 and PHP 4 to use APXS (--with-apxs) and the
400   - necessary link extensions (--enable-versioning). Otherwise, all standard
401   - installations instructions apply. For example:
402   -
403   - $ ./configure \
404   - --with-apxs=/apache/bin/apxs \
405   - --enable-versioning \
406   - --with-mysql \
407   -
408   -
409   -
410   -
411   -
64 LICENSE
... ... @@ -1,64 +0,0 @@
1   ---------------------------------------------------------------------
2   - The PHP License, version 3.0a1
3   -Copyright (c) 1999 - 2002 The PHP Group. All rights reserved.
4   ---------------------------------------------------------------------
5   -
6   -Redistribution and use in source and binary forms, with or without
7   -modification, is permitted provided that the following conditions
8   -are met:
9   -