[TYPO3-core] RFC: t3lib_exec and binaries configuration

Michael Stucki michael at typo3.org
Thu Feb 9 14:16:55 CET 2006


Hi René,

+1 for this feature. I planned to do something similar but didn't start yet.

It would be cool if you could adjust indexed_search to make use of these 
patches.

One thing to mention: I think it is important to add a notice that this will 
not affect the ImageMagick path detection.

Regards, michael

Am Donnerstag, 9. Februar 2006 13:04 schrieb René Fritz:
> 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é
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060209/ddae1f6a/attachment.pgp 


More information about the TYPO3-team-core mailing list