Commit Graph

1914 Commits

Author SHA1 Message Date
Rob Richards
b9b4dd6d09 fix win build 2007-10-05 15:59:42 +00:00
Jani Taskinen
44cbb46246 - Added common getopt implementation to core.
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +00:00
Nuno Lopes
b514dc1070 MFB: fix compiler warnings 2007-09-29 11:26:51 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Jani Taskinen
70abdbeef2 ws + cs fixes 2007-09-27 22:08:54 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
fb5479c145 ws 2007-09-27 07:29:58 +00:00
Dmitry Stogov
4d9ca5ef3c Fixed bug #42699 (PHP_SELF duplicates path) 2007-09-24 11:43:02 +00:00
Dmitry Stogov
c49d25c642 Fixed bug #42587 (behaviour change regarding symlinked .php files) 2007-09-10 10:55:41 +00:00
Antony Dovgal
eec31a3df3 output is started in php_module_startup(), no need to start it twice
fixes leaks in sapi/cgi/tests/005.phpt
2007-09-08 11:10:37 +00:00
Jani Taskinen
cf4bd5590b - Fixed bug #42579 (apache_reset_timeout() does not exist) 2007-09-07 08:49:07 +00:00
Dmitry Stogov
1123fc8150 forgotten part 2007-09-07 08:42:33 +00:00
Dmitry Stogov
0507b17657 Added checks for malformated FastCGI requests (Mattias Bengtsson) 2007-09-07 08:30:10 +00:00
Dmitry Stogov
cbc9348dae Fixed bug #42523 (PHP_SELF duplicates path) 2007-09-05 08:26:49 +00:00
Dmitry Stogov
98bb2b0d9e Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options) 2007-08-31 12:18:04 +00:00
Stanislav Malyshev
c56929d6f1 remove unneeded variables 2007-08-08 23:56:19 +00:00
Stanislav Malyshev
4e105e0956 remove unneeded variables 2007-08-08 22:00:07 +00:00
Stanislav Malyshev
23d7755210 initialize variables 2007-08-08 21:14:11 +00:00
Stanislav Malyshev
6909aec23d fix TSRM embed startup 2007-08-08 21:08:51 +00:00
Dmitry Stogov
b9163fe9de - Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
and using PATH_INFO).
- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning
  on screws up PATH_INFO).
2007-08-08 13:02:01 +00:00
Jani Taskinen
f13d418d5d - Fix typos in comments 2007-08-08 10:00:20 +00:00
Jani Taskinen
f4e24be3ed Fix build 2007-08-06 18:14:13 +00:00
Antony Dovgal
5b47df1576 fix build 2007-08-06 17:01:17 +00:00
Antony Dovgal
b219df4b67 fix build 2007-08-06 12:54:35 +00:00
Jani Taskinen
18676754cf MFB 2007-08-03 09:38:43 +00:00
Stanislav Malyshev
d4cc7daba2 MF5: fix for access control with .htaccess 2007-08-03 01:40:05 +00:00
Stanislav Malyshev
da2a2b5d68 use hardcoded INI like CLI 2007-08-02 23:49:50 +00:00
Antony Dovgal
7753ebafd1 fix win32 build 2007-07-16 19:02:43 +00:00
Jani Taskinen
7c44729e41 - Cleanup and simplify 2007-07-16 13:41:12 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
dee01c13ad - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 23:10:14 +00:00
Dmitry Stogov
aadb18c52f ECONNABORTED is not a critical error (Andrei Nigmatulin) 2007-07-09 11:48:53 +00:00
Antony Dovgal
3eed8dfb76 fix crash on shutdown on Win32
patch by Scott
2007-06-28 17:22:56 +00:00
Dmitry Stogov
a5a98e6322 Fixed bug #40419 (Trailing Slash in CGI request don't work) 2007-06-26 14:47:33 +00:00
Dmitry Stogov
22527c8e03 no need to return exit status of the last fastcgi request 2007-06-21 08:40:56 +00:00
Scott MacVicar
91bcba1f1d MFB: Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). 2007-06-18 15:57:00 +00:00
Antony Dovgal
5697a11dd0 add missing open_basedir checks to CGI 2007-06-04 15:37:38 +00:00
foobar
55f2705c53 add missing test 2007-06-03 22:50:08 +00:00
foobar
1f6cf845b6 another missed ]) 2007-06-03 21:57:31 +00:00
foobar
ffbb3aaf53 fix configure 2007-06-03 21:54:28 +00:00
foobar
6504c24187 - Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 20:26:45 +00:00
foobar
2f51a4ec66 fix test 2007-06-01 22:19:20 +00:00
Antony Dovgal
b1a7a9f261 fix #39330 (apache2handler does not call shutdown actions before apache child die) 2007-06-01 10:02:41 +00:00
Ilia Alshanetsky
a21fe37d0e MFB 2007-05-29 00:01:14 +00:00
Dmitry Stogov
397644d3ab Removed deprecated comment 2007-05-28 08:12:11 +00:00
Antony Dovgal
c554b2fb41 "sapi/cgi/php" -> "sapi/cgi/php-cgi" 2007-05-27 19:22:24 +00:00
foobar
9112c17171 MFB:- Unify installation of SAPIs: CGI is no exception anymore. 2007-05-24 23:31:15 +00:00
Dmitry Stogov
e25fd7ad9b Fixed crash on "php -b 1234 -unknown-option" 2007-05-21 09:08:25 +00:00
Dmitry Stogov
24bc130c56 Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header) 2007-05-15 08:17:20 +00:00
Dmitry Stogov
d009d41cb2 Fixed bug #41291 (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com) 2007-05-10 15:22:15 +00:00