Xinchen Hui
8de80c9679
Prevented the warning about truncate int to char
2011-08-08 07:12:12 +00:00
Rasmus Lerdorf
d9845c2046
More signed 1-bit bitfields
2011-08-07 15:57:35 +00:00
Rasmus Lerdorf
25cdff4d75
Signed 1-bit bitfields make no sense
2011-08-07 15:52:46 +00:00
Rasmus Lerdorf
1a9f66d6d4
Avoid a potential double-free here
2011-08-06 23:42:52 +00:00
Florian Anderiasch
a06539a10d
Fix #55121 Segfault with multipart/form-data POST
2011-07-25 16:45:39 +00:00
Moriyoshi Koizumi
c724b2eeb1
- Give index.php a precedence over index.html. Patch by davidc.
2011-07-23 11:29:26 +00:00
Moriyoshi Koizumi
1f396617eb
- Show PHP_VERSION in the banner. Suggested by Chris and others.
2011-07-21 07:31:29 +00:00
Moriyoshi Koizumi
b07ad1e1a2
Fixed bug #55071 . Maybe a bit overkill?
2011-07-20 09:00:20 +00:00
Moriyoshi Koizumi
06381a8f25
- Better error handling.
2011-07-20 08:43:12 +00:00
Moriyoshi Koizumi
81cd23df4a
- Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
2011-07-20 04:34:01 +00:00
Moriyoshi Koizumi
9f98a430fd
- Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code disclosure)).
2011-07-19 18:17:25 +00:00
Moriyoshi Koizumi
7505322d15
- Buffers are local to the blocks where they belong.
2011-07-19 18:00:16 +00:00
Moriyoshi Koizumi
8e42748a37
- Print HTTP method as well in the log.
...
- Print response code also when the request is processed by a script.
- Those changes partly closes #55109 .
2011-07-19 17:47:34 +00:00
Felipe Pena
c10d148870
- Fixed bug #55076 (requires() fails in a subdirectory with the in-built webserver)
2011-07-06 01:54:54 +00:00
Felipe Pena
df10314070
- Fixed bug #55118 (Imcomplete start message)
2011-07-03 14:45:41 +00:00
Felipe Pena
4296f07fcc
- Reverted php_printf -> printf change
2011-07-01 17:18:50 +00:00
Philip Olson
7497a0eb4a
Updated name to 'PHP Development Server', and CTRL-C to Ctrl-C, as per PHP bug #55071
2011-06-30 23:50:56 +00:00
David Soria Parra
cdad24cda5
correct error message for a missing document root in the cli webserver
...
the document root is always a directory.
2011-06-29 23:44:02 +00:00
David Soria Parra
5024c32798
fix #55072 in-built web server needs to check -t option is a directory
2011-06-29 23:29:01 +00:00
Felipe Pena
f7a024023f
- Fixed crash on invalid addr:port (Chris Jones, Felipe)
2011-06-27 23:18:26 +00:00
Felipe Pena
8841454a10
- Fixed crash when using -e option
2011-06-25 20:40:03 +00:00
Felipe Pena
7b1f738b70
- Fixed crash when calling sapi_shutdown() and sapi hasn't been started
...
Reported by: David Tajchreber
2011-06-25 14:17:17 +00:00
Felipe Pena
9424d255c9
- Fixed crash when zend_eval_string bailouts (-r 'a();')
...
Reported by: David Tajchreber
2011-06-25 13:15:24 +00:00
Pierre Joye
eeade7180a
- reflection is always enabled
2011-06-25 10:47:54 +00:00
Derick Rethans
6b56f4a5b8
- Fixed layout. Tabs on the terminal don't align nicely in most cases.
2011-06-25 10:16:46 +00:00
Pierre Joye
bdb5422951
- fix build
2011-06-21 11:43:19 +00:00
Felipe Pena
1521c79647
- Fix memleak on `php -v'
2011-06-21 01:47:05 +00:00
Felipe Pena
7b3350347a
- Fixed hardcoded INI
2011-06-20 23:36:25 +00:00
Moriyoshi Koizumi
7dfef17c54
- Add built-in web server to CLI SAPI. See the RFC for detail.
2011-06-20 20:27:39 +00:00
Ilia Alshanetsky
7acafb506a
Fixed bug #52496 (Zero exit code on option parsing failure).
2011-05-30 15:57:50 +00:00
Pierrick Charron
1bf6d03020
# Fix phpt
2011-05-05 18:30:14 +00:00
Antony Dovgal
829d08e50c
fix CLI tests failing because of new OB API
2011-05-04 08:24:16 +00:00
Pierre Joye
1dc32a24ce
-not needed, buildconf helps...
2011-02-22 13:09:15 +00:00
Pierre Joye
cb8d9f9c19
- missing files
2011-02-22 12:59:50 +00:00
Johannes Schlüter
960e265b6c
Declare vars first. Fix Windows build.
2011-02-22 12:51:43 +00:00
Felipe Pena
b98ceb5e40
- Fixed build
2011-02-19 16:32:00 +00:00
Johannes Schlüter
6c734a6b4c
- Implement FR#53878 Interactive shell should work with shared readline extension
...
# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the distributor.
2011-02-19 16:04:30 +00:00
Felipe Pena
bc049ccb62
- Fix missing mkdir for bindir (patch by David Tajchreber)
2011-01-23 22:40:35 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Jani Taskinen
25aee9cad9
- Implemented FR #53271 , FR #52410 (Building multiple PHP binary SAPIs and one SAPI module the same time)
...
# Bug #53271 , Bug #52410
2010-11-13 23:13:07 +00:00
Jérôme Loyet
e1b87cce1f
- Fixed #52045 (FPM tries to open php.ini from the current dir)
...
- Add php_ini_ignore_cwd to _sapi_module_struct
2010-11-11 17:24:27 +00:00
Pierre Joye
b6d8462ab2
- fix #48831 php -i has different output to php --ini
2010-09-14 10:36:21 +00:00
Kalle Sommer Nielsen
34b631f679
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
2010-08-18 13:34:40 +00:00
Kalle Sommer Nielsen
aae13b29a9
Fixed bug #50804 (Document configure.js --enable-crt-debug)
2010-08-11 22:38:15 +00:00
Felipe Pena
f2419953d9
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
...
# To commit a new common fix
2010-06-30 02:30:14 +00:00
Felipe Pena
22e2302e78
- Improved initialization
2010-06-27 22:13:41 +00:00
Felipe Pena
3396a6d185
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Johannes Schlüter
61db5cf98a
- Improved CLI Interactive readline shell (Johannes)
...
. Added cli.pager ini setting to set a pager for output.
. Added cli.prompt ini settingto configure the shell prompt.
. Added shortcut #inisetting=value to change ini settings at run-time.
. Don't terminate shell on fatal errors.
A pager can be a an shell command which will receive the command output on its
STDIN channel
php > #cli.pager=less
php > phpinfo();
(output will appear in the pager)
php > #cli.pager=grep -i readline
php > phpcredits();
Readline => Thies C. Arntzen
php > #cli.pager=
(output appears again direct on the terminal)
A prompt can contain a few escape sequences like
php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m
5.3.99-dev php > //Colorful prompt with version number
A prompt can also contaian PHP code in backticks
php > #cli.prompt=`echo gethostname();` \b \>
guybrush php >
2010-05-20 20:55:33 +00:00
Raphael Geissert
bce8aae080
Document CGI options in the manpage (bug #51718 )
...
Patch by Daniel Egeberg
2010-05-11 15:07:31 +00:00