Page 1 of 1

php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 8:59 am
by breun
It seems that the php-ioncube-loader package in the Atomic channel doesn't automatically add configuration to load the extension. The preinstall scriptlet removes any load statements from /etc/php.ini, but doesn't seem to add its own configuration file under /etc/php.d.

Re: php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 9:01 am
by breun
Ah, apparently this is handled via a trigger. However, this trigger only acts on the php package, not on the CentOS php53 package. Could a trigger be added for php53?

Re: php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 12:34 pm
by scott
This is really a problem with the php53 package, not with the ioncube package. You need to report this bug upstream and let them deal with the fallout.

Re: php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 1:38 pm
by breun
I don't see what upstream could do to fix this. The only solution I can think of is this one-line spec file change for the php-ioncube-loader package:

Code: Select all

-%triggerin -- php
+%triggerin -- php, php53
Can you think of another solution?

Re: php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 7:39 pm
by scott
Why don't you ask them?

Re: php-ioncube-loader package doesn't load extension

Posted: Sat Dec 03, 2011 8:20 pm
by breun
Because I think it's pointless. I guess I'll just have to exclude all Atomic PHP packages then.

Re: php-ioncube-loader package doesn't load extension

Posted: Sun Dec 04, 2011 10:54 am
by faris
I'm with Breun on this one. No way will they do anything, and it seems like a safe and sensible thing to add to the ART RPM?

I suspect we are missing/misunderstanding something.....

Re: php-ioncube-loader package doesn't load extension

Posted: Sun Dec 04, 2011 11:45 am
by scott
Im in agreement with all the other maintainers. There was no reason to fork those packages like this, we already had other channels to handle it (-extras, -contrib, etc).

Re: php-ioncube-loader package doesn't load extension

Posted: Sun Dec 04, 2011 12:14 pm
by breun
I also agree that the php53* solution wasn't the greatest idea Red Hat ever had, but it's the long term supported stack for running PHP 5.3 on EL5, so that's what we install for clients explicitly requesting this.

I was hoping we could still use the Atomic php-ioncube-loader package in these setups, but if Atomic won't support the EL5 php53* way of things, then I guess we'll need to look for another solution for ionCube Loader for these clients.

Please note that I didn't mean to say that we're completely dropping support for Atomic PHP packages. Not at all, actually.