Re: [CentOS] PHP and PHP53 on CentOS5
> On 04/17/2012 12:18 AM, Max Pyziur wrote: >> Greetings, >> >> We have someone requesting the use of Wordpress 3.3.1. It requires PHP >> 5.2 >> minimum. >> >> Currently, our machine is running CentOS 5.7. >> >> >> What are the issues/concerns in upgrading from PHP 5.1 (the current PHP >> rpms) to PHP53? >> > We have been using php53 on all of our centos5 servers for severeal > months, now. No major problem at all. Just set the timezone in > /etc/php.ini. Much thanks for all of the replies. My sense, then, from all of the replies is that on CentoOS5, given the need for it, you upgrade to PHP53. In running a yum update, how do you do it? Is it just a straight # yum update php\* ?? >> Much thanks, [recycle] >> Max Pyziur >> p...@brama.com [recycle] >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > Bye, > Peter > -- > > Peter Hopfgartner > web : http://www.r3-gis.com > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Max Pyziur Sent: 17 April 2012 16:03 To: CentOS mailing list Subject: Re: [CentOS] PHP and PHP53 on CentOS5 > Much thanks for all of the replies. > > My sense, then, from all of the replies is that on CentoOS5, given the need > for it, you upgrade to PHP53. > > In running a yum update, how do you do it? > > Is it just a straight > # yum update php\* php and php53 are separate packages, so you would have to remove the php packages and run yum install php53. Chances are yum may just remove php then upon installation of php53 This email has been sent from Gala Coral Group Limited ("GCG") or a subsidiary or associated company. GCG is registered in England with company number 07254686. Registered office address: 71 Queensway, London W2 4QH, United Kingdom; website: www.galacoral.com. This e-mail message (and any attachments) is confidential and may contain privileged and/or proprietorial information protected by legal rules. It is for use by the intended addressee only. If you believe you are not the intended recipient or that the sender is not authorised to send you the email, please return it to the sender (and please copy it to h...@galacoral.com) and then delete it from your computer. You should not otherwise copy or disclose its contents to anyone. Except where this email is sent in the usual course of business, the views expressed are those of the sender and not necessarily ours. We reserve the right to monitor all emails sent to and from our businesses, to protect the businesses and to ensure compliance with internal policies. Emails are not secure and cannot be guaranteed to be error-free, as they can be intercepted, amended, lost or destroyed, and may contain viruses; anyone who communicates with us by email is taken to accept these risks. GCG accepts no liability for any loss or damage which may be caused by software viruses. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5
> > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Max Pyziur > Sent: 17 April 2012 16:03 > To: CentOS mailing list > Subject: Re: [CentOS] PHP and PHP53 on CentOS5 > >> Much thanks for all of the replies. >> >> My sense, then, from all of the replies is that on CentoOS5, given the >> need for it, you upgrade to PHP53. >> >> In running a yum update, how do you do it? >> >> Is it just a straight >> # yum update php\* > > php and php53 are separate packages, so you would have to remove the php > packages and run yum install php53. Chances are yum may just remove php > then upon installation of php53 > [...] Can someone offer their experience/advice in this regard? If I execute the command # yum install php53\* ... will this just install php53 and remove php-* packages? Thanks. Max Pyziur p...@brama.com > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5
> > > Can someone offer their experience/advice in this regard? (remove php, > install php53, CentOS 5) > > Hi. I did exactly this about a year ago under CentOS 5.6. I just had a look at my notes: yum install yum-utils (for package-cleanup) yum remove php php-common # These below were installed over a few days, other php packages were installed later. # I think php53-common will get installed if you install php53 anyway. yum install php53 php53-common yum install php53-mysql yum install php53-devel yum install php53-pgsql yum install php53-odbc # Not a typo. php-pear will give you the pecl package so you can install apc. yum install php-pear # I needed this for apc yum install pcre-devel I don't remember having a problem related to php53 under CentOS 5.6, 5.7, 5.8. I can access all current, popular databases (Si- or NoSQL), all extra modules (e.g. gd) that I needed work. Regards, Jesus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5
On 05/01/2012 06:14 PM, Max Pyziur wrote: > Can someone offer their experience/advice in this regard? > > If I execute the command > # yum install php53\* > > ... will this just install php53 and remove php-* packages? Depending on your means, you could also install a virtual machine (KVM, VirtualBox,...) and make your own custom tests. Isn'it? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5 - PROBLEM
Greetings, I just tried this. In the process drupal6, squirrelmail, and phpmyadmin are removed because of dependencies. After I install php53 and other supporting php53 components, I tried installing squirrelmail, drupal6, and phpmyadmin via yum install. However, they fail to install because of dependency issues. Is there a solution? Thank you. Max Pyziur p...@brama.com >> >> > Can someone offer their experience/advice in this regard? (remove php, >> install php53, CentOS 5) >> >> Hi. I did exactly this about a year ago under CentOS 5.6. I just had a > look at my notes: > > yum install yum-utils (for package-cleanup) > yum remove php php-common > # These below were installed over a few days, other php packages were > installed later. > # I think php53-common will get installed if you install php53 anyway. > yum install php53 php53-common > yum install php53-mysql > yum install php53-devel > yum install php53-pgsql > yum install php53-odbc > # Not a typo. php-pear will give you the pecl package so you can install > apc. > yum install php-pear > # I needed this for apc > yum install pcre-devel > > I don't remember having a problem related to php53 under CentOS 5.6, 5.7, > 5.8. I can access all current, popular databases (Si- or NoSQL), all extra > modules (e.g. gd) that I needed work. > > Regards, > > Jesus > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5 - PROBLEM
> > > After I install php53 and other supporting php53 components, I tried > installing squirrelmail, drupal6, and phpmyadmin via yum install. > > However, they fail to install because of dependency issues. > > Hi Max. You can wget Drupal from source, you don't need yum for this. Same for squirrelmail. I have both running under php53 CentOS 5.8. I can send you my install notes from both if you want. I have never used phpmyadmin; if you want I can install it from source and I would report to you how it went. Regards, Jesus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5 - PROBLEM
>> >> > After I install php53 and other supporting php53 components, I tried >> installing squirrelmail, drupal6, and phpmyadmin via yum install. >> >> However, they fail to install because of dependency issues. >> >> Hi Max. You can wget Drupal from source, you don't need yum for this. >> Same > for squirrelmail. I have both running under php53 CentOS 5.8. I can send > you my install notes from both if you want. I have never used phpmyadmin; > if you want I can install it from source and I would report to you how it > went. I would appreciate seeing your notes. I also reviewed some past CentOS listserv archives on this same topic and see that there are the IUS repos for PHP53. With those you can yum install squirrelmail, drupal6, phpmyadmin. (I, too, am not concerned as much with drupal6, since you can install it on a case by case base from source easily). However, I *did* install PHP53 from the IUS repository ( along with other supporting php packages), and html-enabled email (the capability to compose html email) in squirrelmail ceased functioning. For now, I have reverted back to stock CentOS PHP5.1. Squirrelmail's html-email plugin works again. Hopefully, there is a way to get to PHP53 in CentOS w/o losing functionality. Thanks for your help. Max > > Regards, > > Jesus > ___ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5 - PROBLEM
> > > I would appreciate seeing your notes. > > there are the IUS repos for PHP53. With those you can yum > install squirrelmail, drupal6, phpmyadmin. > > I *did* install PHP53 from the IUS repository ( along with other > supporting php packages), and html-enabled email (the capability to > compose html email) in squirrelmail ceased functioning. > Hi Max. My Drupal notes are here: http://www.geilthings.com/wiki/Drupal IUS repos: ?. I don't know what IUS means. My php53 comes with the base repository, some php53 modules are in epel. I think I only used either base or epel, they may have been under extras or plus. Anyway, only "standard" repos. squirrelmail html: Do you mean this plugin: http://squirrelmail.org/plugin_view.php?id=209 ?. It is from 2005. Squirrelmail installation from source (I have it under ssl): # From http://squirrelmail.org/docs/admin/admin-3.html#ss3.2 mkdir /usr/local/squirrelmail cd /usr/local/squirrelmail mkdir data temp chgrp apache data temp chmod 0730 data temp wget http://squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fprdownloads.sourceforge.net%2Fsquirrelmail%2Fsquirrelmail-1.4.21.tar.gz tar -xvf squirrelmail-1.4.21.tar.gz mv squirrelmail-1.4.21 www #ssl yum install crypto-utils genkey --days 365 mail.mydomain.com Passphrase: somepassphrasehere yum install mod_ssl In the vhosts.d .conf files: ... SSLEngine on ... SSLCertificateFile /path/to/certificatefile.crt SSLCertificateKeyFile /path/to/key.file.key SSLCACertificateFile /path/to/cacertificatefile.ca SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW ... ... redirect permanent / https://mail.domain.com Regards, Jesus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos