FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-30-2011, 06:29 AM
Dave Cross
 
Default Switching to php53

I have a Centos 5.6 server which is using the default php packages.
These currently contain PHP 5.1.6.

My main use of PHP on the server is to support an installation of
WordPress. I currently had WP 3.1.2 installed, but the WP developers
have announced that from WP 3.2 they will only support PHP 5. and
greater.

So I investigated and found that the Centos repo contains a series of
php53 packages. I tried to install php53 using yum but got the
following error:

Resolving Dependencies
--> Running transaction check
---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
--> Running transaction check
---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

I would have thought that the new php53-common package would have
obsoleted php-common rather than conflicting with it.

Is there a clean way to replace php with php53? Or should I just wait
and hope that Centos 6 is released before WP 3.2

Thanks,

Dave...

--
Dave Cross :: dave@dave.org.uk
http://dave.org.uk/
@davorg
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-30-2011, 06:35 AM
Eero Volotinen
 
Default Switching to php53

2011/4/30 Dave Cross <davorg@gmail.com>:
> I have a Centos 5.6 server which is using the default php packages.
> These currently contain PHP 5.1.6.
>
> My main use of PHP on the server is to support an installation of
> WordPress. I currently had WP 3.1.2 installed, but the WP developers
> have announced that from WP 3.2 they will only support PHP 5. and
> greater.
>
> So I investigated and found that the Centos repo contains a series of
> php53 packages. I tried to install php53 using yum but got the
> following error:
>
> *Resolving Dependencies
> *--> Running transaction check
> *---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> *--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
> *--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
> *--> Running transaction check
> *---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> *---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> *--> Processing Conflict: php53-common conflicts php-common
> *--> Finished Dependency Resolution
> *php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
> * *--> php53-common conflicts with php-common
> *Error: php53-common conflicts with php-common
> * You could try using --skip-broken to work around the problem
> * You could try running: package-cleanup --problems
> * * * * * * * * * * * * *package-cleanup --dupes
> * * * * * * * * * * * * *rpm -Va --nofiles --nodigest
>
> I would have thought that the new php53-common package would have
> obsoleted php-common rather than conflicting with it.
>
> Is there a clean way to replace php with php53? Or should I just wait
> and hope that Centos 6 is released before WP 3.2

just remove php and php-common

yum remove php php-common

--
Eero
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-30-2011, 08:25 AM
Jussi Hirvi
 
Default Switching to php53

I would try to first "yum erase php", and then install the php53 version.

- Jussi

On 30.4.2011 9.29, Dave Cross wrote:
> I have a Centos 5.6 server which is using the default php packages.
> These currently contain PHP 5.1.6.
>
> My main use of PHP on the server is to support an installation of
> WordPress. I currently had WP 3.1.2 installed, but the WP developers
> have announced that from WP 3.2 they will only support PHP 5. and
> greater.
>
> So I investigated and found that the Centos repo contains a series of
> php53 packages. I tried to install php53 using yum but got the
> following error:
>
> Resolving Dependencies
> --> Running transaction check
> ---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> --> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
> --> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
> --> Running transaction check
> ---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> ---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> --> Processing Conflict: php53-common conflicts php-common
> --> Finished Dependency Resolution
> php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
> --> php53-common conflicts with php-common
> Error: php53-common conflicts with php-common
> You could try using --skip-broken to work around the problem
> You could try running: package-cleanup --problems
> package-cleanup --dupes
> rpm -Va --nofiles --nodigest
>
> I would have thought that the new php53-common package would have
> obsoleted php-common rather than conflicting with it.
>
> Is there a clean way to replace php with php53? Or should I just wait
> and hope that Centos 6 is released before WP 3.2
>
> Thanks,
>
> Dave...
>


--
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-01-2011, 06:45 AM
Alexander Farber
 
Default Switching to php53

Hello Dave, this really works -
I run Drupal 7 at my CentOS 5.6 machine with
the "native" php53 and postgresql84 packages.

Just remove the older php packages first.

Regards
Alex
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-01-2011, 07:03 AM
Dave Cross
 
Default Switching to php53

On 30 April 2011 07:35, Eero Volotinen <eero.volotinen@iki.fi> wrote:
> 2011/4/30 Dave Cross <davorg@gmail.com>:
>> I have a Centos 5.6 server which is using the default php packages.
>> These currently contain PHP 5.1.6.
>>
>> My main use of PHP on the server is to support an installation of
>> WordPress. I currently had WP 3.1.2 installed, but the WP developers
>> have announced that from WP 3.2 they will only support PHP 5. and
>> greater.
>>
>> So I investigated and found that the Centos repo contains a series of
>> php53 packages. I tried to install php53 using yum but got the
>> following error:
>>
>> *Resolving Dependencies
>> *--> Running transaction check
>> *---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>> *--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
>> *--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
>> *--> Running transaction check
>> *---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>> *---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>> *--> Processing Conflict: php53-common conflicts php-common
>> *--> Finished Dependency Resolution
>> *php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
>> * *--> php53-common conflicts with php-common
>> *Error: php53-common conflicts with php-common
>> * You could try using --skip-broken to work around the problem
>> * You could try running: package-cleanup --problems
>> * * * * * * * * * * * * *package-cleanup --dupes
>> * * * * * * * * * * * * *rpm -Va --nofiles --nodigest
>>
>> I would have thought that the new php53-common package would have
>> obsoleted php-common rather than conflicting with it.
>>
>> Is there a clean way to replace php with php53? Or should I just wait
>> and hope that Centos 6 is released before WP 3.2
>
> just remove php and php-common
>
> yum remove php php-common

Er... that looks like it wants to take another 109 packages with it.
Most of which seem to be connected with Plesk. And that's pretty
fundamental to the working of this server.

So that all sounds like a rather risky strategy.

Cheers,

Dave...

--
Dave Cross :: dave@dave.org.uk
http://dave.org.uk/
@davorg
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-01-2011, 07:19 AM
Lucian
 
Default Switching to php53

On Sun, May 1, 2011 at 8:03 AM, Dave Cross <davorg@gmail.com> wrote:
> On 30 April 2011 07:35, Eero Volotinen <eero.volotinen@iki.fi> wrote:
>> 2011/4/30 Dave Cross <davorg@gmail.com>:
>>> I have a Centos 5.6 server which is using the default php packages.
>>> These currently contain PHP 5.1.6.
>>>
>>> My main use of PHP on the server is to support an installation of
>>> WordPress. I currently had WP 3.1.2 installed, but the WP developers
>>> have announced that from WP 3.2 they will only support PHP 5. and
>>> greater.
>>>
>>> So I investigated and found that the Centos repo contains a series of
>>> php53 packages. I tried to install php53 using yum but got the
>>> following error:
>>>
>>> *Resolving Dependencies
>>> *--> Running transaction check
>>> *---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>>> *--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
>>> *--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
>>> *--> Running transaction check
>>> *---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>>> *---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
>>> *--> Processing Conflict: php53-common conflicts php-common
>>> *--> Finished Dependency Resolution
>>> *php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
>>> * *--> php53-common conflicts with php-common
>>> *Error: php53-common conflicts with php-common
>>> * You could try using --skip-broken to work around the problem
>>> * You could try running: package-cleanup --problems
>>> * * * * * * * * * * * * *package-cleanup --dupes
>>> * * * * * * * * * * * * *rpm -Va --nofiles --nodigest
>>>
>>> I would have thought that the new php53-common package would have
>>> obsoleted php-common rather than conflicting with it.
>>>
>>> Is there a clean way to replace php with php53? Or should I just wait
>>> and hope that Centos 6 is released before WP 3.2
>>
>> just remove php and php-common
>>
>> yum remove php php-common
>
> Er... that looks like it wants to take another 109 packages with it.
> Most of which seem to be connected with Plesk. And that's pretty
> fundamental to the working of this server.
>
> So that all sounds like a rather risky strategy.

It's not really that risky, just rpm -e --nodeps and then yum install
php53 packages.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-01-2011, 07:50 AM
"John R. Dennison"
 
Default Switching to php53

On Sun, May 01, 2011 at 08:19:49AM +0100, Lucian wrote:
>
> It's not really that risky, just rpm -e --nodeps and then yum install
> php53 packages.

Do not follow this advice at all; it will most likely wreck your server.

Contact Plesk support or your hosting provider's support department and
ask them about upgrading php. Plesk, like most control panels,
integrates quite tightly into your system; replacing the system default
php-5.1.6 with the php53 optional package may not be supported for your
environment.




John
--
The truth is, when all is said and done, one does not teach a subject, one
teaches a student how to learn it. Teaching may look like administering a
dose, but even a dose must be worked on by the body if it is to cure. Each
individual must cure his or her own ignorance.

-- Jacques Barzun (30 November 1907-), French-born American scholar,
historian, critic and teacher, "Reasons to De-Test the Schools,"
New York Times, 11 October 1988
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-01-2011, 08:40 AM
Dave Cross
 
Default Switching to php53

On 1 May 2011 08:50, John R. Dennison <jrd@gerdesas.com> wrote:
> On Sun, May 01, 2011 at 08:19:49AM +0100, Lucian wrote:
>>
>> It's not really that risky, just rpm -e --nodeps and then yum install
>> php53 packages.
>
> Do not follow this advice at all; it will most likely wreck your server.
>
> Contact Plesk support or your hosting provider's support department and
> ask them about upgrading php. *Plesk, like most control panels,
> integrates quite tightly into your system; replacing the system default
> php-5.1.6 with the php53 optional package may not be supported for your
> environment.

This is exactly what worried me. Thanks for confirming my fears.

Dave...

--
Dave Cross :: dave@dave.org.uk
http://dave.org.uk/
@davorg
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 11:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org