summaryrefslogtreecommitdiff
path: root/sapi/cli
Commit message (Collapse)AuthorAgeFilesLines
* Support compiling and linking against Darwin / Mac OS X frameworksMarko Karppinen2002-08-061-1/+1
|
* Made PHP_ADD_LIBPATH use the $ld_runpath_switch and changed the DarwinMarko Karppinen2002-07-211-1/+1
| | | | | | link lines in sapi/cli and sapi/cgi to use $NATIVE_RPATHS. This is a tentative fix for #18450.
* Needed this to be able to test safe-mode stuff on cmd-linefoobar2002-07-131-0/+1
|
* - You don't need libtool to build sapi/cli on Darwin.Marko Karppinen2002-07-011-0/+9
| | | | | | | | | | | - We don't need libtool to build sapi/cli on Darwin. - You want the sapi/cli build line to be in sapi/cli, not Makefile.global. - We want the sapi/cli build line to be in sapi/cli, not Makefile.global. - He can go about his business. - You can go about your business. - Move along. - Move along. Move along.
* Fix exit code (bug #17733).Edin Kadribasic2002-06-131-1/+1
|
* Disable installing pear when --disable-cli is used since pear installerEdin Kadribasic2002-06-111-1/+2
| | | | | needs cli to function.
* Due to the way Zend handles exit() we cannot rely on the return codeEdin Kadribasic2002-05-261-5/+2
| | | | | of php_execute_script.
* Made constants persistent and fixed a memory leak.Edin Kadribasic2002-05-261-3/+7
|
* Register STDIN, STDOUT, and STDERR "constants" in cli in cases whereEdin Kadribasic2002-05-241-0/+50
| | | | | | | script itself is not being loaded from STDIN. This enables constructs like fwrite(STDERR, "Error 42");
* - Update about CLI default settings and it's weirdness.Markus Fischer2002-05-111-2/+3
|
* Added copyright notice to php -v output.Edin Kadribasic2002-05-111-1/+1
|
* Revert to the old php_ini.c, and reimplement the binary-path searching.Zeev Suraski2002-05-111-0/+2
| | | | | Should now also work under UNIX (CLI/CGI)
* - Prefix the first version line with 'PHP' so it's easier to use shell tools toMarkus Fischer2002-05-101-1/+1
| | | | | parse the version number (both CLI and CGI).
* - This affects both CGI and CLI sapi:Markus Fischer2002-05-101-2/+1
| | | | | | Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m).
* Added the current SAPI to the output of php -vSander Roobol2002-05-091-1/+1
|
* Update README with register_argc_argv settings override.Edin Kadribasic2002-05-061-0/+1
|
* Force register_argc_argv=On for CLIfoobar2002-05-051-0/+1
|
* ap_php_optopt is set but never usedSascha Schumann2002-05-041-2/+0
|
* Make it possible to actually disable the CLI..foobar2002-04-141-8/+4
|
* CGI/CLI take file and dir for -c option by this.Yasuo Ohgaki2002-04-121-17/+17
| | | | | @ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
* WS fixfoobar2002-03-271-7/+6
|
* recorrect las checkinMarcus Boerger2002-03-271-1/+1
|
* allow other modes to work with -- correctMarcus Boerger2002-03-261-1/+1
| | | | | #original idea was to allow this *only* for PHP_MODE_STANDARD
* fix behaviour on --Marcus Boerger2002-03-261-1/+2
| | | | | #now php -- -i for scriptfile -i works
* Override max_execution_time, setting it to unlimited.Edin Kadribasic2002-03-242-0/+2
|
* Documented -r and added TODOEdin Kadribasic2002-03-232-0/+7
|
* -removed -xMarcus Boerger2002-03-231-45/+38
| | | | | | -error handling for illegal switch combinations -corrected ws for one case block
* Nuke unused variables.Sebastian Bergmann2002-03-231-2/+0
|
* @Added new switch -x to CLI that enables execution of files without ↵Marcus Boerger2002-03-221-9/+50
| | | | | | | | @scripting tags. (Marcus) -Add -x #Read follow up mail
* -passing arguments to CLI, see: php -hMarcus Boerger2002-03-112-41/+64
|
* Cleaned up previous commit.Edin Kadribasic2002-03-081-5/+2
| | | | | #Oops, commited older patch the first time :)
* @- Added -r option to the CLI version of PHP which executes a piece of PHPEdin Kadribasic2002-03-081-1/+16
| | | | | @ code directly from the commmand line. (Edin)
* Please welcome the new build system.Sascha Schumann2002-03-072-29/+2
| | | | | | | | | | If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt
* - Make the errorcode 255. (Doing docs right away)Derick Rethans2002-02-151-2/+2
|
* - Let php_execute_script return 0 on failure and 1 on sucess, and changeDerick Rethans2002-02-141-1/+5
| | | | | SAPIs accordingly. (Andrei, Derick)
* Turned implicit_flush on.Edin Kadribasic2002-02-141-5/+4
| | | | | Cleaned up help text.
* Added README file for CLI SAPI.Edin Kadribasic2002-02-141-0/+15
|
* Enable extensions to specify that they are not supposed to beEdin Kadribasic2002-01-301-1/+0
| | | | | | built with the CLI SAPI. This is done by passing "nocli" as the 3rd parameter to PHP_EXTENSION macro.
* Add a note that this statement will never be reached.Jon Parise2002-01-271-1/+1
|
* Added --disable-cli option.Edin Kadribasic2002-01-241-3/+18
|
* Give Edin Kadribasic his due credits.Sebastian Bergmann2002-01-231-3/+3
|
* No need to dupe this string in cli sapi (Bug #15181).Edin Kadribasic2002-01-231-1/+1
|
* Modified the build system to make certain extensions (pcntl, ncurses,Edin Kadribasic2002-01-201-1/+2
| | | | | | | pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional parameter to PHP_EXTENSION macro which should be set to "cli" if the extension only makes sense for that class of api's.
* Merged patch from sapi/cgi.Edin Kadribasic2002-01-191-2/+7
| | | | | # I will try to sync relevant patches from sapi/cgi to sapi/cli
* Fixed build in the directory other than $top_srcdir.Edin Kadribasic2002-01-131-4/+4
|
* This should fix cli build when running 'make install' directly.Edin Kadribasic2002-01-131-2/+2
|
* Fixed CLI build when the main SAPI is built as a shered library.Edin Kadribasic2002-01-121-0/+3
|
* Modified the build system to always build CLI SAPI.Edin Kadribasic2002-01-122-19/+28
|
* @- Added CLI (command line intrerface) sapi based on a cut-down versionEdin Kadribasic2002-01-066-0/+830
@ of the CGI sapi which is more suited for writing shell scripts. Some of @ the differences are: it prints no HTTP headers, displays plain text @ error messages, etc. (Edin) Added CLI (command line intrerface) sapi. # Let's see if a build expert can make this compile along # side some other sapi.