In Ubuntu10.04, php5.3 cannot be installed with zendoptimizer.

Source: Internet
Author: User
Unable to install zendoptimizer in php5.3 under Ubuntu10.04 solution: rollback is required. 2. * # removeallphppackgesudoaptitudepurge 'dpkg-l | grepphp | awk' {print $2} '| tr "\ n" 'sudosu # usekarmikforphppakageecho-e "Pack

In php5.3 of Ubuntu 10.04, zend optimizer cannot be installed. solution:

Rollback is required. 2 .*

# Remove all php packge
Sudo aptitude purge 'dpkg-l | grep php | awk '{print $2}' | tr "\ n """'
Sudo su
# Use karmik for php pakage
Echo-e "Package: php5 \ nPin: release a = karmic \ nPin-Priority: 991 \ n">/etc/apt/preferences. d/php
Apt-cache search php5-| grep php5-| awk '{print "Package:", $1, "\ nPin: release a = karmic \ nPin-Priority: 991 \ n "} '>/etc/apt/preferences. d/php
Apt-cache search-n libapache2-mod-php5 | awk '{print "Package:", $1, "\ nPin: release a = karmic \ nPin-Priority: 991 \ n "} '>/etc/apt/preferences. d/php
Exit
# Add karmik to source list
Sed s/lucid/karmic/g/etc/apt/sources. list | sudo tee-a/etc/apt/sources. list. d/karmic. list
# Update package database (use apt-get if aptitude crash)
Sudo apt-get update
# Install php
Sudo apt-get install-t karmic php5-cli libapache2-mod-php5

Go again

Wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

Decompress the package and copy it directly.

Finally, add the dynamic library path of zend to php. ini.

Restart apache

OK

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.