[TYPO3-ect] Testing the PEAR installer

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Jul 13 12:10:49 CEST 2007


Hi,

I am currently testing the PEAR installer of Daniel. It looks great so far.
It's really nice to get a working pear installer without the need to
configure a lot of pathes before. The preconfiguration seems to be done in
a way that works (since the recent update).

A.) Configuration. In the footer of the first page it PEAR Manager tells me:

<quote>

You can set the path for your server in php.ini ...
include_path
= .:/usr/share/php:/usr/share/pear:/var/www/ect/typo3conf/pear/PEAR

... or you set it automatically for any server in the header of your new
extension:
$cur=ini_get('include_path'); $divider=(strpos($cur,':') >0 ) ? ':' : ';' ;
ini_set('include_path', $cur. $divider. PATH_typo3conf. 'pear/PEAR');

</quote>

* How about setting the include_path automatically in ext_localconf.php of
the pear extension instead of doing it in every new extension?

* Is this the right path at all: "PATH_typo3conf. 'pear/PEAR'". It differs
from "/var/www/ect/typo3conf/ext/pear/PEAR".


B.) Channels. pear and pecl are preconfigured. I think it would be nice to
have same more. Which channels are interesting? 

I post a few links:

http://pear.php.net/channels/
http://www.pearadise.net/
http://devzone.zend.com/public/view/tag/pear 
http://schlitt.info/applications/blog/index.php?/archives/392-eZ-Components-and-PEAR.html

Regards

Elmar























More information about the TYPO3-team-extension-coordination mailing list