Yasuo Ohgaki [Sun, 3 Feb 2002 05:40:19 +0000 (05:40 +0000)]
Revert last commit. Last patch has problem for the 1st request.
# I also found what's wrong in mod_mm.c :)
# I'll fix it later since don't have much time now.
Jon Parise [Sat, 2 Feb 2002 06:21:58 +0000 (06:21 +0000)]
Revert revision 1.294.
This commit broke things in interesting ways under FreeBSD. By adding these
default header files to every header check, a number of subsequent checks
failed (due to unsatisfied header file dependencies). This occured because
<netinet/in.h>, for example, requires <sys/types.h>. In other words, these
default includes are not autonomous and don't make workable defaults.
James E. Flemer [Fri, 1 Feb 2002 20:04:14 +0000 (20:04 +0000)]
Changed php.ini directive 'safe_mode_include_dir' to accept a
(semi)colon separated path, rather than a single directory.
Also moved checking of said path into a separate path for code
readability.
@- Changed php.ini directive 'safe_mode_include_dir' to accept a
@ (semi)colon separated path (like 'include_path') rather than
@ a single directory. (jflemer)
Yasuo Ohgaki [Fri, 1 Feb 2002 08:32:04 +0000 (08:32 +0000)]
Fixed bug with encodings that has 0 byte in strings. Patch by <itai@siftology.com>
Fixed possible problem with encodings that a char can be larger than
4 bytes.
Edin Kadribasic [Wed, 30 Jan 2002 23:46:44 +0000 (23:46 +0000)]
Enable extensions to specify that they are not supposed to be
built with the CLI SAPI. This is done by passing "nocli" as the
3rd parameter to PHP_EXTENSION macro.
Marko Karppinen [Sun, 27 Jan 2002 03:37:02 +0000 (03:37 +0000)]
Enable developers to use PHP_ARG_ENABLE and PHP_ARG_WITH silently
to maintain legacy configure options without clutter in the
configure help and checking output.
# Hopefully this encourages module writers to finally adopt
# standard naming conventions for their configure options!
Marko Karppinen [Sat, 26 Jan 2002 23:57:17 +0000 (23:57 +0000)]
- Reorganized stuff in configure.in and added a few comments
# This isn't nearly as big a change as the diff would lead one to believe.
# I've tested this on all my machines and its working for sniper too.
- Added a check for ApplicationServices/ApplicationServices.h (Mac OS X)
- Added AC_PROG_CPP, AC_PROG_CXX and AC_PROG_CXXCPP
# (the bundled libmysql build was failing without them with ac2.52/OSX)
- Improved the IPv6 check to fail on Mac OS X (there's no IPv6 there yet)
Andi Gutmans [Fri, 25 Jan 2002 12:55:03 +0000 (12:55 +0000)]
- First destructor hell fix. There was a situation where an object's
- destructor could be run after its class was already dead. Right now
- object destructors is the first thing whic happens during shutdown in
- order to prevent this problem. It's very likely that destructors will
- cause more grief and we'll have to outline exactly when you should use
- them and what kind of logic you're allowed to do inside of them.
- This bug was reported by sebastian.
Derick Rethans [Fri, 25 Jan 2002 11:27:47 +0000 (11:27 +0000)]
- Added optional parameter to highlight_string and highlight_file which
makes these functions return a highlighted string instead of dumping
to standard output. (Derick)
@- Added optional parameter to highlight_string and highlight_file which
@ makes these functions return a highlighted string instead of dumping
@ to standard output. (Derick)
Rasmus Lerdorf [Fri, 25 Jan 2002 09:01:02 +0000 (09:01 +0000)]
(extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exists
@ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
@ then it prepends the prefix to it. ie. if $PATH exists then
@ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
@ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
@ and you only get the global request variables you have defined imported
@ into your symbol table. (Rasmus)
Yasuo Ohgaki [Fri, 25 Jan 2002 00:51:03 +0000 (00:51 +0000)]
Added "pgsql.auto_reset_persistent" ini entry to catch broken connection
always with pg_pconnect(). (Default Off in source and php.ini-*)
This option requires a little overhead for pg_pconnect().