ius-community team mailing list archive
-
ius-community team
-
Mailing list archive
-
Message #01157
Re: PHP55 requires pecl-jsonc question
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
Hey Sean,
Personally, I'd stick with the IUS packages and just comment out the incompatible mod_php in the apache config. With Apache httpd 2.4, I'd want my set up to use php-fpm and mod_proxy_fcgi instead of mod_php. If I wasn't going to use that in my setup, I would likely stick with the stock 2.2 apache as that's one less piece of software I need to worry about patching myself. Your apache 2.4 RPMs may need an appropriate "Provides" line in them so that the installation of stock IUS php doesn't trigger an attempted install of the RHEL/Centos apache 2.2 packages. You can look at the IUS php spec file to see what it requires to see if you'll need to add a provides to your apache 2.4 packages.
Well, that's what I'd try if I really needed apache 2.4. And I could be missing some complexity since I've never tried to do this. But php and apache would be discrete processes in a php-fpm/mod_proxy_fcgi setup, so I don't think you'd run into any issues if there are different versions of libraries being used by apache and php.
Sorry for not answering your question, it just feels like you might be doing extra work that you don't need to. To continue doing what you've been doing, I'd definitely go with Ben's suggestion :)
-Josh
References