Sam Ruby
c56888da7c
look for Tomcat binaries too
2000-04-05 09:47:34 +00:00
Sam Ruby
5c40dfa374
Define PHP_SELF in sapi/servlet.
...
Reported by Lim Swee Tat <limst@ncscom.sg>
2000-04-05 09:06:05 +00:00
Sam Ruby
617e1b054c
test -e doesn't exist on Solaris - substituting test -d
2000-04-03 15:29:39 +00:00
Andi Gutmans
d8e64d623e
- This version of chdir_file should be compatible with the Apache one.
2000-04-02 19:45:02 +00:00
Sam Ruby
34933225f6
Accomodate back level (JSDK 2.0) implementations
2000-04-01 17:57:42 +00:00
Sam Ruby
8a64f51101
Use C style comments, per the CODING_STANDARDS
2000-03-31 00:53:45 +00:00
Sam Ruby
57b4e1a3ee
fix indentation (this project has tabstop=4!)
2000-03-30 23:35:55 +00:00
Sam Ruby
8a94c8d598
eliminate chdir if it is already virtual
2000-03-30 23:23:29 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Sam Ruby
e4b86c2cd5
support non-debug builds
2000-03-26 20:24:55 +00:00
Sascha Schumann
b4db46606e
Some white-space changes
2000-03-26 19:47:28 +00:00
Shane Caraveo
073b7acc90
I suppose errors should be printed prior to endthread
2000-03-19 18:24:09 +00:00
Shane Caraveo
42c874ba5f
do this only on win32
2000-03-19 18:22:11 +00:00
Shane Caraveo
0bf6633452
just a little more detail in exception report
2000-03-19 17:59:05 +00:00
Sascha Schumann
608b96a8aa
Make it compile
2000-03-18 17:50:43 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Sam Ruby
d63341ea5f
Unix classpath fixes
2000-03-11 12:05:17 +00:00
Sam Ruby
e24e95bdec
Both PHP and Java can't read Post data - let java do it and reconstruct for
...
PHP.
2000-03-09 13:07:25 +00:00
Sam Ruby
ba50898123
remove duplicate line
2000-03-09 04:04:05 +00:00
David Hedbor
71a4bdc882
Changed typo (interpretor->interpreter)
2000-03-07 20:20:42 +00:00
Sam Ruby
fa56e42b08
Sapi/servlet build on Unix broken
2000-03-07 15:41:34 +00:00
David Hedbor
42ca607e71
Use php_module_shutdown_wrapper as the shutdown function
2000-03-06 19:27:59 +00:00
David Hedbor
09ab7fc6ca
Use
2000-03-06 19:26:39 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Sam Ruby
edb2b71387
Cleanup
2000-03-06 13:19:58 +00:00
Sam Ruby
313de641eb
Add support for PHP syntax highlighting
...
Remove debug output
Fix trap when string to be output is not null terminated
Add a MS workspace for project level dependencies
Match case of contentType header
2000-03-05 21:35:24 +00:00
David Hedbor
ffd70dca19
Now recommend --enable-roxen-zts...
2000-03-02 22:13:24 +00:00
Stig Bakken
74fba75ca0
@"none" is now equivalent with "" in Apache config directives (Stig)
...
"none" is now equivalent with "" in Apache config directives.
2000-03-02 14:32:24 +00:00
David Hedbor
52eebff6f8
Removal of printf-debug, changed sp/fp to Pike_sp / Pike_fp instead of
...
using a define.
2000-03-01 20:43:12 +00:00
David Hedbor
08427debe8
Fixed a compilation problem with roxen.c due to a change in Pike to fix a
...
conflict with embedded Perl.
2000-02-29 01:12:28 +00:00
David Hedbor
3e616b5a31
roxen.c
2000-02-29 01:11:16 +00:00
David Hedbor
97cea1b933
Removed warning about ZTS since it works fine now.
2000-02-29 01:10:37 +00:00
Sam Ruby
6189e219ff
Improved handing of instances of private classes. Added servlet examples.
2000-02-28 17:02:28 +00:00
Zeev Suraski
1bcdcebe67
Compile fix
2000-02-26 16:07:05 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00
Zeev Suraski
a508bec819
- From CODING_STANDARDS:
...
[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
try avoiding it.
strncat() is your enemy!
- Fix several SAPI services, get rid of the default_content_type (it's always
composed of the mime type and charset now).
- Win32 works again
2000-02-26 05:03:41 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Stig Bakken
ba03c9f2aa
started implementing directives for default mimetype/charset
2000-02-24 22:00:47 +00:00
Zeev Suraski
5520a43b77
- Fix Win32 build in Release_TS* modes
2000-02-24 15:56:48 +00:00
Sascha Schumann
3bd34bf386
@- Fixed -DEAPI inheritance from APXS. (Sascha)
2000-02-24 13:48:44 +00:00
Sascha Schumann
59d1066525
Improve APXS_CFLAGS checks
2000-02-24 13:43:28 +00:00
Sascha Schumann
d64c1652e2
Define EAPI, if Apache uses EAPI
2000-02-24 13:38:03 +00:00
Sascha Schumann
fca41d2752
Remove XML_INCLUDE, we use the embedded expat always
2000-02-24 13:35:07 +00:00
David Hedbor
9d1847cdd4
The Roxen PHP4 module is now a part of the Roxen CVS which makes more sense.
2000-02-23 22:27:56 +00:00
Sam Ruby
b117adeded
add proper dependencies
2000-02-22 14:37:45 +00:00
Thies C. Arntzen
b7e53b12f6
compile-fix
2000-02-21 14:01:19 +00:00
Sam Ruby
c764f2e3ab
php4ts.lib => php4ts_debug.lib when building for Debug_TS target
2000-02-20 14:27:17 +00:00
Sam Ruby
9a7909c983
Potential trap when cookies are sent
2000-02-20 13:43:51 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
1c4532dcbf
*** empty log message ***
2000-02-19 13:11:02 +00:00
Zeev Suraski
f1dac01f11
- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
...
- Added .reg file for PWS setup
- Reordered some stuff in phpinfo()
2000-02-18 17:59:44 +00:00
Sascha Schumann
02d647b5f9
Fix warnings when compiling static Apache module
2000-02-18 10:13:15 +00:00
Zeev Suraski
9eef999b38
No need for a value (not that it seems to work anyway...)
2000-02-17 20:25:08 +00:00
Zeev Suraski
75b1316e70
@- Updated the browscap module to work with PHP 4.0 (Zeev)
2000-02-16 17:46:14 +00:00
Zeev Suraski
a5c143f415
- Update .dsp's
...
- Fix auth_user issue
2000-02-16 16:46:01 +00:00
Andi Gutmans
d66d7c6e3a
- In IIS ISAPI when the user presses the STOP button while the script is
...
running make sure it stops gracefully. Before it stuck the server.
2000-02-16 13:34:07 +00:00
Zeev Suraski
e9dcdb8f97
@- Improved ISAPI module - it should no longer be necessary to set PHP as
...
@ an ISAPI filter, only as an ISAPI extension, unless you wish to perform
@ authentication using PHP. This didn't yet get enough testing, but it
@ should work (Zeev)
- Fixed auth_user/auth_password memory leak (I didn't have time to test it under
Apache, feedback welcome!)
2000-02-15 23:31:10 +00:00
David Hedbor
12315f78a2
Use sapi_free_header.
2000-02-14 08:11:48 +00:00
Zeev Suraski
1cca60e704
Fix a few memory leaks
2000-02-13 22:17:09 +00:00
Zeev Suraski
23b633e071
Report access violations
2000-02-13 01:24:51 +00:00
Zeev Suraski
b08f85aeef
Make all of the ISAPI variables register themselves as Server variables
2000-02-13 01:14:45 +00:00
Sascha Schumann
bfe09e8305
Never use Apache regex stuff
2000-02-12 14:48:09 +00:00
Sam Ruby
34723d02f8
on WIN32, PHP_WIN32 and ZEND_WIN32 need to be defined
2000-02-11 23:50:01 +00:00
Zeev Suraski
2e7093d5ef
Update .dsp's
2000-02-11 16:28:50 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
f9e0d94a65
- Baby steps with PHP_WIN32 :)
2000-02-11 12:56:54 +00:00
Zeev Suraski
732eeeabd9
Final build fixes - that's enough for now...
2000-02-10 20:24:28 +00:00
Zeev Suraski
6723bdd920
request_info.c is giving up
2000-02-10 20:03:17 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00
Zeev Suraski
9709f7ec73
The last patch wasn't that good, fix
2000-02-10 19:29:21 +00:00
Zeev Suraski
79726c8864
Make the CVS compile again
2000-02-10 19:24:44 +00:00
Zeev Suraski
5bdd18caf1
Yes, you guessed it... More cleanup
2000-02-10 18:44:33 +00:00
Zeev Suraski
41f6bca92f
More cleanup!
2000-02-10 18:19:04 +00:00
Zeev Suraski
0fd89aa20d
More cleanup - move getenv() to SAPI
2000-02-10 17:55:01 +00:00
Zeev Suraski
7d926a0e0c
More cleanup...
2000-02-10 17:26:57 +00:00
Andrei Zmievski
681f352a9d
Should be 'deactivate' rather than the opposite.
2000-02-10 16:48:22 +00:00
Zeev Suraski
073b148167
More abstraction
2000-02-10 16:44:59 +00:00
Zeev Suraski
59b53ea2c8
Always use getopt with CGI, never use it for anything else
2000-02-10 16:27:28 +00:00
Zeev Suraski
404bbe1f26
Move the logging mechanism to SAPI
2000-02-10 15:55:10 +00:00
Andrei Zmievski
a7063b1aee
New function notice.
2000-02-08 18:03:19 +00:00
Zeev Suraski
2da5f17e52
Fix buglet
2000-02-06 22:14:34 +00:00
Zeev Suraski
6a75df6cd7
@- Protect the ISAPI module against exceptions. Stack overflows in scripts are
...
@ now nicely detected and handled (Zeev)
2000-02-06 21:59:58 +00:00
Andrei Zmievski
a6748c555e
Fixed SAPI modules to properly register their related modules.
2000-02-02 17:19:36 +00:00
Andrei Zmievski
254fdd754c
Initialize apache properly.
2000-02-02 16:49:39 +00:00
Andrei Zmievski
625828657a
Forgot to add the actual file.
2000-02-02 14:29:27 +00:00
Andrei Zmievski
f0f00daa92
Moved ext/apache into sapi/apache.
2000-02-02 06:09:00 +00:00
Sam Ruby
e30b061a06
Servlets work again! OK, so it crashes on shutdown, apparently trying to
...
report a memory leak, but it is worth committing the progress so far.
2000-02-01 16:25:43 +00:00
Sam Ruby
54259250e5
PHP can install and run as a servlet again on Unix.
...
Still todo: allow access to ext/java functionality from within servlet.
2000-01-30 20:48:33 +00:00
Sam Ruby
b32b8d0d44
add installation
2000-01-30 00:42:26 +00:00
Sam Ruby
8a75e48bd4
Progress: sapi/servlet now builds again on Unix
2000-01-29 17:53:58 +00:00
Sam Ruby
c60c1b8172
First steps towards restoring sapi/servlet on Unix.
...
Cosmetic improvements to allow README to be read on systems with tabstop=8
2000-01-29 13:22:47 +00:00
Rasmus Lerdorf
796ce90c1e
No comment - will explain next week
2000-01-29 12:46:59 +00:00
Zeev Suraski
b2449f929c
- Change the argument order of php_register_variable() to something more
...
intuitive.
- Make the authentication variables be a part of the HTTP_SERVER_VARS[] array
2000-01-29 11:55:44 +00:00
Zeev Suraski
99f079a349
- A few fixes
...
- Added register_argv_argc directive to allow disabling of argv/argc
2000-01-28 18:29:37 +00:00
Zeev Suraski
7723bdbaa7
Apache module compile fixes
2000-01-28 17:38:08 +00:00
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
...
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
2000-01-28 17:24:53 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
972631be71
- Added flush() support to SAPI
...
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
2000-01-13 17:37:25 +00:00