[suspicious - maybe spam] Re: [PEAR] How to use PHP_Archive package. using .phar files
| From: | Klaus Guenther | Date: | Fri, 03 Jun 2005 11:13:51 +0000 |
| Subject: | [suspicious - maybe spam] Re: [PEAR] How to use PHP_Archive package. using .phar files | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19448@lists.php.net to get a copy of this message | ||
All you have to do is associate the .phar extension with the php
interpreter. I suppose you could theoretically even rename a .phar to
.php and you could run it.
Klaus
On 6/3/2005 10:20 AM, Hitar Petar spake the following words:
> I was able to create .phar file but then I don't know how I can use it.
> What I would like to use this .phar file is to compact a php shell
> executable. Since it has classes, config file etc... I don't want to
> make one huge file out of all this but rather create .phar file,
> single file that still has the different components separated in
> it(config, classes ect.),
> If someone could give me very basic example how to do it (pack and
> USE). I understand that includes in the .phar file should be something
> like phar://config.php but do I really need one external file to call
> this or...
>
> Summary:
> I don't wont to place 3files in /usr/local/bin for example to execute
> my executable php shell script but rather pack everything.
>
> Thank you in advance for kind response...
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>