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.
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.