Marcus Boerger
69eaab8aac
MFH: Bug #27104 CLI/CGI SAPI module variable name conflict
2004-02-11 22:00:38 +00:00
Ilia Alshanetsky
a9b6b75a02
MFH: Fixed possible memory leak with INI values.
2004-02-06 03:08:39 +00:00
Ilia Alshanetsky
5bffdef46d
MFH: Parse command line ini directives passed using -d before -i, to ensure
...
correct settings output.
2004-02-04 22:49:55 +00:00
Derick Rethans
e41bc6906c
- Fixed year in version notices
2004-01-13 09:13:44 +00:00
Edin Kadribasic
c0d963299a
MFH: cli overrides php.ini and switches output buffering off.
2004-01-03 21:36:18 +00:00
Stanislav Malyshev
ab9ceb9526
Null dtor so that extensions won't be unloaded prematurely by list
...
destruction
2003-08-28 11:34:51 +00:00
Ilia Alshanetsky
351a686a7c
MFH: Fixed bug #20896 (-s -w modes with php-cli cause php to hang).
2003-08-13 01:30:39 +00:00
Ilia Alshanetsky
85f4e2b191
MFH: Preserve exit status for non-php execution modes.
2003-08-01 16:53:03 +00:00
Ilia Alshanetsky
e945608fa4
MFH: Fixed bug #23509 (exit code lost when exit() called from
...
register_shutdown_function())
2003-08-01 12:29:48 +00:00
Marcus Boerger
fe95410380
Reapply this one, too.
2003-05-31 02:31:10 +00:00
Marcus Boerger
0b0a331e63
Reapply long opts
2003-05-31 02:20:08 +00:00
foobar
8506ee1bfe
- Re-added the FD lexer patch.
...
# Marcus is going to add the long-opts patches back in after this.
2003-05-31 01:37:45 +00:00
Derick Rethans
59b59d2651
- Added a "DEBUG" qualifier to 'php -v's version output, and made the CGI
...
version statement look the same as the CLI version. (Derick)
2003-05-30 17:03:10 +00:00
Edin Kadribasic
ae7fadf900
Nuke the rest of headers-sent code
2003-05-29 23:57:27 +00:00
Marcus Boerger
db81c3d979
MFH: new switches and --style switches
2003-05-29 15:28:01 +00:00
Marcus Boerger
9990a0a301
MFH: In CLI log errors always
2003-05-26 23:07:09 +00:00
Derick Rethans
33bed67b99
- Fixed a bug in reporting start-up errors with the CLI: No HTTP header shall
...
be shown.
2003-05-26 18:33:20 +00:00
Zeev Suraski
cbd712e8c9
Fix typo
2003-05-21 10:23:31 +00:00
Zeev Suraski
2127840893
Revert PHP part of the fd patch
2003-05-21 09:34:21 +00:00
Sascha Schumann
8053881211
protect against further surprises by initializing all zend_file_handle's
2003-05-17 08:06:53 +00:00
Ilia Alshanetsky
32131681f7
Fixed a memory leak when -h flag is used.
2003-05-14 00:11:01 +00:00
foobar
2cd08683c8
- Fixed bug #23584 (error line numbers off by one when using #!php).
...
# already fixed in php5
2003-05-14 00:05:12 +00:00
Sascha Schumann
bbf39825e1
Use POSIX IO here, mainly to fix interactive mode.
...
This also fixes a possible cpu-time hog bug where a file would consist
of "#" and nothing else.
2003-05-13 23:36:38 +00:00
Wez Furlong
c3a1a51f83
Fix leak in "php -m".
2003-04-30 13:07:18 +00:00
Marcus Boerger
0371773312
MFH fix
2003-04-27 17:20:12 +00:00
Marcus Boerger
b882dbf5b9
MFH Synch: shutdown and ini defaults
2003-04-23 22:53:17 +00:00
Marcus Boerger
d8d9e16711
MFH: cli/ini/html_errors/info (they are related)
2003-04-09 20:27:55 +00:00
Marcus Boerger
99637508f9
MFH: erroneous newline at start
2003-04-08 23:04:36 +00:00
Ilia Alshanetsky
7a16fdbd27
MFH
2003-01-08 00:44:58 +00:00
Sebastian Bergmann
03d440e1c0
MFH: Bump year.
2002-12-31 16:27:40 +00:00
Moriyoshi Koizumi
2615ec3dee
MFH
2002-12-20 15:52:49 +00:00
Edin Kadribasic
a3d0b7e43f
Reverted previous patch as suggested by Andi. (reopening #20539 ).
2002-12-19 00:11:32 +00:00
Edin Kadribasic
120f6a9bf2
MFH: Fix for #20539 (patch by Moriyoshi Koizumi).
2002-12-11 10:29:07 +00:00
Andrei Zmievski
d9d34ae282
MFH
2002-11-14 21:09:47 +00:00
Jan Lehnardt
e95c7178cc
- be more verbose
2002-11-13 12:41:05 +00:00
Marcus Boerger
cecb9dfc79
Implemented -n switch to skip parsing ini at startup as suggested by Wez.
...
#The switch 'n' was planned to be used for beautifying....delete n to make
#clear these functions do not have a switch yet.
2002-11-12 20:56:47 +00:00
Ilia Alshanetsky
64f77577f0
Fixed bug #20035 . ZE now allows us to pass the current line position by
...
setting zend_lineno to (current_line * -1).
2002-11-05 22:04:12 +00:00
Marcus Boerger
64d3e88266
call php_module_startup after zts has been initialised. This way we could
...
have called zend_ini_deactivate(TSRMLS_C). But it seems unnecessary.
#tested with ZTS and non ZTS build and many manual fail points.
#now it even compiles without any warning, at least for me
2002-11-05 15:15:51 +00:00
Edin Kadribasic
9276b276f7
Made php -v output look nicer on standard 80 column display.
2002-11-05 11:13:35 +00:00
foobar
b79e506045
Added built date and time to -v output.
2002-10-31 17:34:10 +00:00
Ilia Alshanetsky
3a1c278361
Fixed memory leaks.
2002-10-26 19:33:15 +00:00
Jan Lehnardt
e431d6a1c9
- alphabetical output for php -h (cli)
2002-10-25 09:32:32 +00:00
Sascha Schumann
d464b8164c
add missing {}
2002-10-24 16:04:31 +00:00
Derick Rethans
1f9f9244eb
- whitespace
2002-10-24 14:01:39 +00:00
Sascha Schumann
1e3e07173b
Improve shutdown-behaviour
...
Noticed by: Anantha Kesari H Y
2002-10-24 13:25:57 +00:00
Derick Rethans
337649a5f2
*** empty log message ***
2002-10-24 13:18:27 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
Yasuo Ohgaki
d253364a13
Make CLI behave like other moder scripting languages.
2002-10-23 01:21:40 +00:00
Derick Rethans
1bb702e403
- Revert, got tricked by a stale object file
2002-10-14 11:59:58 +00:00
Derick Rethans
092f78fc28
- Fix CLI
2002-10-14 06:58:57 +00:00