- ATTENTION!! register_globals defaults to 'off' now !!!
- Modified the mysql extension to disable 'LOAD LOCAL' when safe mode is
enabled. (Jason)
-- Added CLI (command line interface) sapi which is more suitable for writing
- shell scripts. Some of the differences to CGI sapi are: no HTTP headers,
- plain text error messages, does not change working directory, have a new -r
- option which executes a piece of PHP code directly from the commmand line, etc.
- "make install" will install CLI SAPI version of php in {PREFIX}/bin/php while
- CGI is renamed and installed as {PREFIX}/bin/php-cgi. (Edin)
- Fixed HTTP file upload support to handle big files better. (Jani)
- Major modifications to the Sockets Extension and its API (Jason):
. Fixed numerous bugs.
fi
if test "$PHP_SAPI" = "cgi" ; then
- INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(INSTALL_ROOT)\$(bindir)/php-cgi"
+ INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(INSTALL_ROOT)\$(bindir)/php"
fi
AC_MSG_CHECKING(for fhttpd module support)
--- /dev/null
+this module is experimental,
+its feature set and behaviour can change.
+you have been warned!
* Plain text error message
* $argc and $argv registered irrespective of register_globals
* implicit_flush always on
+* -r option which allows execution of PHP code directly from
+ the command line (e.g. php -r 'echo md5("test");' )
+* max_execution_time is set to unlimited, overriding php.ini setting.
[PHP_SAPI_CLI=yes]
)
-if test "$PHP_SAPI_CLI" != "no"; then
- INSTALL_IT="$INSTALL_IT; \$(INSTALL) -m 0755 sapi/cli/php \$(INSTALL_ROOT)\$(bindir)/php"
-else
+if test "$PHP_SAPI_CLI" = "no"; then
PHP_DISABLE_CLI
fi
SG(options) |= SAPI_OPTION_NO_CHDIR;
zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
while ((c = ap_php_getopt(argc, argv, OPTSTRING)) != -1) {
switch (c) {