Bug #62368 [Com]: IonCube encoded files cannot work inside PHAR
| From: | murznn at gmail dot com | Date: | Mon, 23 Dec 2019 09:37:52 +0000 |
| Subject: | Bug #62368 [Com]: IonCube encoded files cannot work inside PHAR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-224491@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62368&edit=1
ID: 62368
Comment by: murznn at gmail dot com
Reported by: stawi at plusnet dot pl
Summary: IonCube encoded files cannot work inside PHAR
Status: Not a bug
Type: Bug
Package: PHAR related
Operating System: Debian
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
Does anybody report this issue to IonCube? If yes, can you share link to issue or his reply about
this problem?
Previous Comments:
------------------------------------------------------------------------
[2012-06-25 15:31:19] dev at ioncube dot com
"Information that it is PHP problem I received from from Polish reseller of IonCube."
Clearly a misunderstanding somewhere in the chain after we spoke with them last week. The topic is
covered at http://ioncube.pl/faq.php?a=full&id=100
and I believe that they emailed you to say that it's not possible to use PHAR, but without
blaming PHP. Anyway...
"you have working version (in Mantis) but you wont add it in IonCube"
Mantis is a bug/feature tracker. We have a note in Mantis to the effect that we don't support
PHARs but could in the future. We've never implemented it though, and it likely requires a
different and potentially less efficient approach to the file access techniques that are used
currently, not that this would be a reason not to do it.
Any deployment choice has its pros and cons, but if an entire application or module is in a PHAR and
just one file needs to be updated, choosing a PHAR might prove not to have been the best choice
after all. A tool such as ionCube IPF, which from Linux or Windows can create Windows
setup.exe's to handle product deployment automatically and with the same ease as a local app
install, might be a good way to go.
If you have further questions I would recommend creating a ticket at http://ioncu.be/S and we'll be happy to assist there.
------------------------------------------------------------------------
[2012-06-25 13:25:58] stawi at plusnet dot pl
To dev @ ioncube:
Information that it is PHP problem I received from from Polish reseller of IonCube.
Anyway, you have working version (in Mantis) but you wont add it in IonCube? I dont get it..
Low demand? So all features you have are fully used by all customers? you must be joking..
Even if few % of customers demand it, they will probably buy other encoder so you lost money.
PHARs are perfect for module based systems espesially when you need to make an update - just upload
few PHARs instead of thousands of files. Works perfectly with self updateing software, but we need
encoding ;/
------------------------------------------------------------------------
[2012-06-24 12:18:16] dev at ioncube dot com
To be clear, this is not a bug in PHP and we wouldn't have claimed it to be because we know
precisely why PHAR's *can't* work due to the way that files are handled by the Loader. (I
did check our helpdesk and our very good apprentices in training don't appear to have claimed
it as a PHP issue either.)
We like the idea of PHAR's though, and came up with the PHAR concept ourselves long before it
appeared in PHP as it's an appealing way to package an application or component; but it does
have downsides hence never pursuing it ourselves. The Loader has an I/O abstraction mechanism and
could probably be augmented to handle PHAR's, and it is something we already have tracked in
our Mantis system, however demand from customers has been low for the feature hence it not making it
into the product thus far.
------------------------------------------------------------------------
[2012-06-20 17:48:13] stawi at plusnet dot pl
Well OK.. Seems that IonCube guys need to work bit more ;)
------------------------------------------------------------------------
[2012-06-20 17:35:10] johannes@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
The IonCube guys are welcome to discuss their issues or provide patches. We don't know what
they do, what issues they have.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62368
--
Edit this bug report at https://bugs.php.net/bug.php?id=62368&edit=1