← Back to team overview

ius-community team mailing list archive

Re: PHP55 requires pecl-jsonc question

 

On 10/07/2014 02:07 PM, Sean McCreadie wrote:

On 10/07/2014 12:48 AM, Sean McCreadie wrote:

    Hello,

    I am pretty new at using IUS and I have a question regarding
    building php55u-5.5.16-2 from your source rpms.  This is on Centos
    6.5 x64.

    I built the php rpms but I am unable to install as it requires
    php55u-pecl-jsonc. I tried looking through the archive and
    googling a ton, but was unable to find a solution.

    Do I edit the spec file and rebuild the rpms without pecl-jsonc?

    I tried installing the pecl-jsonc rpm from ius, but it requires
    other php dependencies, so I am caught in a dependency loop of sorts.

    Thank you in advance for any feedback, and thank you for a great repo!

    **

    *Sean *

On 10/07/2014 8:28 AM, Ben Harper wrote:

>Hello Sean,
>
>
>Thanks for taking the time to contact use about this issue and the kind words. See the following bug for information on why IUS requires the php55u-pecl-jsonc >package and information why we are using jsonc instead of the stock json:
>
>https://bugs.launchpad.net/ius/+bug/1357116
>
>If you did not need json(c) then you can simply remove the requires line.
>
>May I ask why you are rebuilding PHP? Are there some changes that we should be including in our PHP55u packages?
>
>
>Thanks,
>Ben and the rest of the IUS covedev team

Hi Ben,

Thank you for the quick reply.

Like I said, I am pretty new to building centos packages.

I am only rebuilding the php55u packages because I don’t know any other way to get it working with the latest Apache versions. For my web server I have been building httpd rpms from the latest source, then using your php source rpms to build php55 rpms for installation. This has worked without issues with earlier versions of php55, until I tried with 5.5.16, I suppose because of the removal of the json module?

If I download the php55u packages from IUS, upon installation it requires a missing httpd-mmn. (it seems like it wants an earlier version of httpd)

So, I’m happy to rebuild the php without jsonc, but I’m not even sure if I need it or not?

Apologies for the lack of knowledge, any help is appreciated.

Sean

**********************************************
Email Disclaimer:

This email, including attachments, may contain
proprietary, confidential or privileged information. If you
are not the intended recipient, please (i) do not use,
disclose, save or retransmit this message or any
attachments, (ii) alert the sender by reply email and (iii)
destroy or delete this message and any attachments.
Delivery of this email to a person other than the intended
recipient(s) shall not constitute a waiver of privilege or
confidentiality.

CP Investments, member FINRA and SIPC, serves as
placement agent for certain investment products advised by
Canyon Capital Advisors LLC. CP Investments does not act as
a placement agent in any jurisdiction other than the U.S.
This email is not intended to be an offer to sell or a
solicitation of an offer to buy any security in any
jurisdiction. We review and retain electronic communications
traveling through our network.

**********************************************

Our packages are built from base packages provided by Red Hat. In the case of PHP. that would include Red Hat's older Apache version. I am nor surprised you are getting an error when attempting to install php56u and your current version of Apache.

Looking through the commit history, it does appear the requires for jsonc did get added with the 5.5.16 release. Our php55u packages have never been built with the stock json module. If you aren't using json, I am pretty sure just removing the requires for jsonc will work for you.


-Ben

Follow ups

References