• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Opcache zend installation problem with debian

EveMauta

Basic Pleskian
Dear all,
I wanted to install zend opcache in a debian machine ( Ubuntu 12.04.4 LTS) with plesk 12.

I know that for CENTOS I just have to make this:
yum install php-pecl-zendopcache.x86_64

Here is my situation at first:
/usr/lib/php/modules/sw-engine# ls -la
-rwxr-xr-x 1 root root 1140208 Aug 1 2013 ioncube_loader_lin_5.4.so

php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cli) (built: Apr 4 2014 01:30:04)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.

I tried :
/usr/share/psa-pear/pear/pecl install ZendOpcache-7.0.3
downloading zendopcache-7.0.3.tgz ...
Starting to download zendopcache-7.0.3.tgz (94,164 bytes)
.....................done: 94,164 bytes
59 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed

phpize depend of php5-dev but if I install it I may distroy all! (see in PS)

Do you have any solution?

Thanks and best regards,
Eve


PS:
aptitude install php5-dev
The following NEW packages will be installed:
autoconf{a} automake{a} autotools-dev{a} libltdl-dev{a} libssl-dev{a} libssl-doc{a} libtool{a} m4{a} php5-dev shtool{a} zlib1g-dev{a}
The following packages will be upgraded:
libssl1.0.0 libssl1.0.0:i386 php5-common
3 packages upgraded, 11 newly installed, 0 to remove and 120 not upgraded.
Need to get 9,056 kB of archives. After unpacking 17.8 MB will be used.
The following packages have unmet dependencies:
php5-xsl : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-sqlite : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
libapache2-mod-php5 : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-gd : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-mysql : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-cgi : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-cli : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
php5-fpm : Depends: php5-common (= 5.3.10-1ubuntu3.11) but 5.3.10-1ubuntu3.14 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) libapache2-mod-php5
2) php5-cgi
3) php5-cli
4) php5-curl
5) php5-fpm
6) php5-gd
7) php5-imap
8) php5-mysql
9) php5-sqlite
10) php5-xsl
11) plesk-core
12) plesk-l10n
13) plesk-management-node
14) pp-sitebuilder
15) psa-firewall
16) psa-horde
17) psa-imp
18) psa-ingo
19) psa-kronolith
20) psa-migration-agents
21) psa-migration-manager
22) psa-mnemo
23) psa-passwd
24) psa-php5-configurator
25) psa-phpmyadmin
26) psa-phppgadmin
27) psa-turba
28) psa-updates
29) psa-watchdog
Leave the following dependencies unresolved:
30) libapache2-mod-php5 recommends php5-cli
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
 
Suggestion for EveMauta on Ubuntu 12.04 :

sudo apt-get clean

You probably used a ppa, or a third party source to install other things, than your vendor provided in his common source.list. ( located at /etc/apt/sources.list ) but at the moment, this not-common source wants to install another php - version, than the one you currently have installed. Well, you certainly can upgrade your php - version, but then you have to modify some things on your own and you probably need more assistance and more help.
Your common source.list should look like this, if you didn't change it:
Code:
deb http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
After checking your source.list, please update and upgrade your operating system with the commands:

sudo apt-get update && apt-get upgrade
If all went fine, there were only upgrades and NO de-installations requests. You are now at the point, where you might want to install the current "php5-dev" extension, which is compatible with your current or upgraded php - version ( 5.3.10-1ubuntu3.11 ) and use the command:

apt-get install php5-dev
It could be usefull to install some more things like "build-essential" and "unzip", just to be sure, that you could as well compile extensions on your own, even that PECL does a quite good job... but you never know and these packages won't harm your system - in this case you could use:

apt-get install build-essential php5-dev unzip

Afterwards, you could use your previous command: /usr/share/psa-pear/pear/pecl install ZendOpcache-7.0.3 , hopefully with no further failures. :)


Please reply with failure messages, so we could help you with additional suggestions, if this one didn't work for some reason.
 
Back
Top