Re: [Ius-community] 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 ___ Mailing list: https://launchpad.net/~ius-community Post to : ius-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~ius-community More help : https://help.launchpad.net/ListHelp
Re: [Ius-community] perl-DBD-mysql dependancy problem
Error: mysql55 conflicts with mysql-5.1.69-1.el6_4.x86_64 Error: mysql55-libs conflicts with mysql-libs-5.1.69-1.el6_4.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest The quick way to handle this is to remove the mysql-libs package with no deps. Just make sure you install the mysqlclient16 package to fix the broken dependencies. This is the package that contains the older libraries in it, mysql55-libs just contains the new libraries. rpm -e mysql-libs --nodeps #this will fix deps yum install mysql55 mysql55-libs mysqlclient16 -Josh ___ Mailing list: https://launchpad.net/~ius-community Post to : ius-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~ius-community More help : https://help.launchpad.net/ListHelp
Re: [Ius-community] attempting to upgrade mysql-server using ius repo
I believe it adds a replace command to yum. I've started installing it on my systems but never actually messed around with it. But yes, I'd expect those errors if you just tried to install the mysql55 packages. -Josh From: ius-community-bounces+jdr=alexanderinteractive@lists.launchpad.net [mailto:ius-community-bounces+jdr=alexanderinteractive@lists.launchpad.net] On Behalf Of Chris Adams Sent: Thursday, July 19, 2012 3:47 PM To: ius-community@lists.launchpad.net Subject: Re: [Ius-community] attempting to upgrade mysql-server using ius repo Thank you for your reply: I thought I had tried using the mysql55 and mysql-server55. Anyway, when I did, it found something, but eventually resulted in this (a sample of the error message): Transaction Check Error: file /etc/my.cnf from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386 file /usr/lib/mysql/libmysqlclient.so.18.0.0 from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386 file /usr/share/mysql/czech/errmsg.sys from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386 file /usr/share/mysql/danish/errmsg.sys from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386 Would the yum-plugin-replace deal with this? Oh, and yes, I made sure that I copied databases and schema before attempting this. Christopher Adams Library Systems Coordinator Oregon State Library chris.a.ad...@state.or.usmailto:chris.a.ad...@state.or.us 503-378-5031 503-932-1004 (IT support) From: Joshua Rusch [mailto:j...@alexanderinteractive.com]mailto:[mailto:j...@alexanderinteractive.com] Sent: Thursday, July 19, 2012 12:41 PM To: Chris Adams Subject: RE: attempting to upgrade mysql-server using ius repo The packages in IUS are named differently so they don't automatically upgrade any core redhat/centos packages. You're looking for mysql55 and mysql55-server packages. There is a package in IUS, yum-plugin-replace, that may assist you in upgrading a package that was named differently like this though I personally haven't tried it. Maybe one of the maintainers of IUS can give you more specific instructions. In any case, since you're likely dealing with an important database, make sure you back up before attempting. -Josh From: ius-community-bounces+jdr=alexanderinteractive@lists.launchpad.netmailto:ius-community-bounces+jdr=alexanderinteractive@lists.launchpad.net [mailto:ius-community-bounces+jdr=alexanderinteractive@lists.launchpad.net] On Behalf Of Chris Adams Sent: Thursday, July 19, 2012 2:50 PM To: ius-community@lists.launchpad.netmailto:ius-community@lists.launchpad.net Subject: [Ius-community] attempting to upgrade mysql-server using ius repo Hello, I just joined this group and have a question. I am trying to update mysql-server 5.5.20 to 5.5.25. I added the ius repos and then issue a command to see what mysql components are available: yum --enablerepo=ius list mysql mysql-server The results are this: mysql.i386 5.5.20-1.el5.remi installed mysql-server.i386 5.5.20-1.el5.remi installed I have gone to the ius website and checked the repos and find 5.5.24 here: http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/repoview/applications.databases.group.html What am I missing that will enable me to do a regular yum update using the ius repository so that I can upgrade mysql-server. Many thanks. mysql55-server-5.5.24-1.ius.el5.x86_64http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/mysql55-server-5.5.24-1.ius.el5.x86_64.rpm Christopher Adams Library Systems Coordinator Oregon State Library chris.a.ad...@state.or.usmailto:chris.a.ad...@state.or.us 503-378-5031 503-932-1004 (IT support) ___ Mailing list: https://launchpad.net/~ius-community Post to : ius-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~ius-community More help : https://help.launchpad.net/ListHelp