[TYPO3-core] RFC: t3lib_exec and binaries configuration

René Fritz rene at typo3.org
Thu Feb 9 13:04:27 CET 2006


This is a CVS patch request

Type: minor feature

Branch: TYPO3_4-0

Not yet very much used is t3lib_exec. The class searches for binaries.
Eg: $cmdPath = t3lib_exec::getCommand ('perl');
(indexed_search should use that for example.)

t3lib_exec works fine except when openbasedir is enabled in PHP. Then binaries 
can not be found. I added an option where binaries can be configured manually 
$TYPO3_CONF_VARS['SYS']['binSetup'] which is used now by t3lib_exec.

Updated description:
	'binPath' => '', 						
	// String: List of absolute paths where external programs should be searched 
for. Eg. '/usr/local/webbin/,/home/xyz/bin/'

New option:		
	'binSetup' => '', 						
	// String: List of programs. By default programs will be searched in default 
paths and the special paths defined by 'binPath'. When PHP has openbasedir 
enabled the programs can not be found and have to be configured here. 
Example: 'perl=/usr/bin/perl,unzip=/usr/local/bin/unzip'


René

-- 
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_exec.patch
Type: text/x-diff
Size: 1709 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060209/39fe3560/attachment.bin 


More information about the TYPO3-team-core mailing list