UBUNTU to downgrade your software

Source: Internet
Author: User
Tags sybase tidy

[Ubuntu] How to demote PHP5.3 to PHP5.2 in Ubuntu11.04

Due to the Ubuntu 11.0.4 default installed PHP version > 5.3, so reluctantly to their own PHP demoted back to the ancient PHP 5.2.6 with Zendoptiom needs

The upgrade is very simple, gutsy in/etc/apt/source.list is replaced by Hardy, then aptitude update, Aptitude Safe-upgrade, Aptitude Dist-upgrade, Download a lot of packages to install a half-day will be done, but as before several upgrades, hardy Php5-sybase 5.2.4-2ubuntu5.1 or not support Sybase:
[12-jun-2008 09:13:13] PHP warning:php startup:unable to load Dynamic Library '/usr/lib/php5/20060613+lfs/sybase_ct.so '-/usr/lib/php5/200606 13+lfs/sybase_ct.so:cannot open Shared object file:no such file or directory in Unknown on line 0


The following packages have unsatisfied dependencies:
Php5-sybase: Reliance: Phpapi-20090626+lfs
Dependencies: Php5-common (= 5.3.6-13ubuntu3.1) But 5.2.10.dfsg.1-2ubuntu6 is about to be installed


There is no way to modify the source and demote back to 5.2.3 in gutsy:

$ sudo aptitude install php5-sybase=5.2.3-1ubuntu6.2 php5-gd= 5.2.3-1ubuntu6.2 php5-mysql=5.2.3-1ubuntu6.2 php5-tidy=5.2.3-1ubuntu6.2 php5-sqlite=5.2.3-1ubuntu6.2

I tried, Installed on this 5.2.3 Sybase, that is, sybase_ct.so, is not compatible with PHP 5.2.4 use, can only keep PHP temporarily do not upgrade.

In addition, the tidy extension of PHP is not available after this has been done, but fortunately tidy is not required.

annoying Sybase.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.