Re: Use pear as installation library
| From: | Brett Bieber | Date: | Wed, 04 May 2011 14:37:08 +0000 |
| Subject: | Re: Use pear as installation library | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31105@lists.php.net to get a copy of this message | ||
On Wed, May 4, 2011 at 9:31 AM, Ferenc Kovacs <info@tyrael.hu> wrote:
>
>
> On Wed, May 4, 2011 at 4:16 PM, Chen Xiongjie <chen.xcmail@gmail.com>wrote:
>
>> Thank you Brett.
>>
>> But how about artifact which contains database change, other php execution
>> behavior? I mean the need is not just copy resource to target, but also
>> execute some script (php script/shell script).
>>
>> It seems that pear is good for distributing library, but it's not a good
>> platform for high-customized installation(like some need for rpm/bitnami, ).
>>
>>
>
> http://pear.php.net/manual/en/pyrus.differences.postinstallscripts.php
>
>
> <http://pear.php.net/manual/en/pyrus.differences.postinstallscripts.php>
> Tyrael
>
Yep. The PEAR installer & Pyrus support post-install scripts which can do
anything PHP can do.
--
Brett Bieber