php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1515 improving php standalone mode
Submitted: 1999-06-09 03:51 UTC Modified: 2002-01-06 08:06 UTC
From: fuf at fuf dot sh dot cvut dot cz Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fuf at fuf dot sh dot cvut dot cz
New email:
PHP Version: OS:

 

 [1999-06-09 03:51 UTC] fuf at fuf dot sh dot cvut dot cz
i'm using php3 for most of the scripts i'm writing and i'd like to ask if there's any chance of having php3 as a stand-alone interpreter? (not cgi, it'd behave as perl/python or any other interpreter - without outputting the html code for bugs etc.).
it has so many functions that it'd be damned good for writing system scripts.

	please :)
	 	fuf

thanks a lot for such a wonderful work!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 20:18 UTC] jim at cvs dot php dot net
Moved to feature request.
 [1999-11-11 18:04 UTC] joey at cvs dot php dot net
Try php -f or php -q. Is this what you are looking for? I often use it for systems programming.
 [2000-05-19 09:56 UTC] hholzgra at cvs dot php dot net
php -q is a step in the right direction
but this only disables http headers, 
not html markup in error messages

and php could be more clever when started
standalone (that is, if istty(stdin) is true
or certain environment variables are not set)




 [2001-02-10 13:23 UTC] jimw@php.net
refiling against 4.0.
 [2001-11-11 14:21 UTC] sander@php.net
IIRC this is implemented (-s or something)... can someone confirm this?
 [2001-11-11 17:30 UTC] cardinal@php.net
There isn't a one-letter param to turn off html_errors, however you can pass '-d html_errors=0'.  Another option is to set it in the php.ini file which is checked by the php binary.
 [2002-01-06 08:06 UTC] jan@php.net
a cli sapi which will cause some more improvements in this area is about to be commited. the original problem was also solved long ago. closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 23:01:28 2025 UTC