Which method is recommended and the best for installing APC on Debian 7.5 64 bit using Plesk 11.5
1. apt-get install php-apc
2. apt-get install php-pear php5-dev apache2-prefork-dev build-essential and pecl install apc
3. apt-get install php-pear php5-dev gcc apache2-threaded-dev and pecl install apc
Three of these working, which is the most stable and the best? Please advise
------
More info:
1. # apt-get install php-apc
The following extra packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common file
libapache2-mod-php5filter libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libexpat1 libldap-2.4-2 libmagic1 libonig2 libqdbm14
libsasl2-2 libsasl2-modules mime-support php5-common psmisc ssl-cert
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom php-pear
libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal php5-gd
openssl-blacklist
The following NEW packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common file
libapache2-mod-php5filter libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libexpat1 libldap-2.4-2 libmagic1 libonig2 libqdbm14
libsasl2-2 libsasl2-modules mime-support php-apc php5-common psmisc ssl-cert
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,175 kB of archives.
After this operation, 21.5 MB of additional disk space will be used.
2. # apt-get install php-pear php5-dev gcc apache2-threaded-dev
The following extra packages will be installed:
apache2-utils apache2.2-bin apache2.2-common autoconf automake autotools-dev
binutils comerr-dev cpp cpp-4.7 file gcc-4.7 krb5-multidev libapr1
libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-dev
libaprutil1-ldap libc-dev-bin libc6-dev libexpat1 libexpat1-dev libgmp10
libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6
libkrb5-dev libldap-2.4-2 libldap2-dev libltdl-dev libltdl7 libmagic1
libmpc2 libmpfr4 libmysqlclient-dev libmysqlclient18 libonig2 libpcre3-dev
libpcrecpp0 libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2
libsasl2-modules libsqlite3-dev libssl-dev libssl-doc libtool linux-libc-dev
m4 manpages-dev mime-support mysql-common php5-cli php5-common psmisc shtool
ssl-cert uuid-dev zlib1g-dev
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom autoconf2.13
autoconf-archive gnu-standards autoconf-doc gettext binutils-doc doc-base
cpp-doc gcc-4.7-locales gcc-multilib make automake1.9 flex bison gdb gcc-doc
gcc-4.7-multilib libmudflap0-4.7-dev gcc-4.7-doc libgcc1-dbg libgomp1-dbg
libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
binutils-gold krb5-doc python glibc-doc krb5-user libtool-doc
postgresql-doc-9.1 libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal sqlite3-doc automaken gfortran
fortran95-compiler gcj openssl-blacklist
The following NEW packages will be installed:
apache2-threaded-dev apache2-utils apache2.2-bin apache2.2-common autoconf
automake autotools-dev binutils comerr-dev cpp cpp-4.7 file gcc gcc-4.7
krb5-multidev libapr1 libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-dev libaprutil1-ldap libc-dev-bin libc6-dev libexpat1
libexpat1-dev libgmp10 libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8
libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap-2.4-2 libldap2-dev
libltdl-dev libltdl7 libmagic1 libmpc2 libmpfr4 libmysqlclient-dev
libmysqlclient18 libonig2 libpcre3-dev libpcrecpp0 libpq-dev libpq5
libqdbm14 libquadmath0 libsasl2-2 libsasl2-modules libsqlite3-dev libssl-dev
libssl-doc libtool linux-libc-dev m4 manpages-dev mime-support mysql-common
php-pear php5-cli php5-common php5-dev psmisc shtool ssl-cert uuid-dev
zlib1g-dev
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.2 MB of archives.
After this operation, 136 MB of additional disk space will be used.
3. # apt-get install php-pear php5-dev apache2-prefork-dev build-essential
The following extra packages will be installed:
apache2-utils apache2.2-bin apache2.2-common autoconf automake autotools-dev
binutils comerr-dev cpp cpp-4.7 dpkg-dev fakeroot file g++ g++-4.7 gcc
gcc-4.7 krb5-multidev libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libapr1 libapr1-dev libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-dev libaprutil1-ldap libc-dev-bin
libc6-dev libdpkg-perl libexpat1 libexpat1-dev libfile-fcntllock-perl
libgmp10 libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8 libkadm5srv-mit8
libkdb5-6 libkrb5-dev libldap-2.4-2 libldap2-dev libltdl-dev libltdl7
libmagic1 libmpc2 libmpfr4 libmysqlclient-dev libmysqlclient18 libonig2
libpcre3-dev libpcrecpp0 libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2
libsasl2-modules libsqlite3-dev libssl-dev libssl-doc libstdc++6-4.7-dev
libtimedate-perl libtool linux-libc-dev m4 make manpages-dev mime-support
mysql-common patch php5-cli php5-common psmisc shtool ssl-cert uuid-dev
zlib1g-dev
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom autoconf2.13
autoconf-archive gnu-standards autoconf-doc gettext binutils-doc doc-base
cpp-doc gcc-4.7-locales debian-keyring g++-multilib g++-4.7-multilib
gcc-4.7-doc libstdc++6-4.7-dbg gcc-multilib automake1.9 flex bison gdb
gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg
libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
binutils-gold krb5-doc python glibc-doc krb5-user libtool-doc
postgresql-doc-9.1 libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal sqlite3-doc libstdc++6-4.7-doc automaken
gfortran fortran95-compiler gcj make-doc ed diffutils-doc openssl-blacklist
The following NEW packages will be installed:
apache2-prefork-dev apache2-utils apache2.2-bin apache2.2-common autoconf
automake autotools-dev binutils build-essential comerr-dev cpp cpp-4.7
dpkg-dev fakeroot file g++ g++-4.7 gcc gcc-4.7 krb5-multidev
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libapr1 libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-dev
libaprutil1-ldap libc-dev-bin libc6-dev libdpkg-perl libexpat1 libexpat1-dev
libfile-fcntllock-perl libgmp10 libgomp1 libgssrpc4 libitm1
libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap-2.4-2
libldap2-dev libltdl-dev libltdl7 libmagic1 libmpc2 libmpfr4
libmysqlclient-dev libmysqlclient18 libonig2 libpcre3-dev libpcrecpp0
libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2 libsasl2-modules
libsqlite3-dev libssl-dev libssl-doc libstdc++6-4.7-dev libtimedate-perl
libtool linux-libc-dev m4 make manpages-dev mime-support mysql-common patch
php-pear php5-cli php5-common php5-dev psmisc shtool ssl-cert uuid-dev
zlib1g-dev
0 upgraded, 83 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.0 MB of archives.
After this operation, 169 MB of additional disk space will be used.
1. apt-get install php-apc
2. apt-get install php-pear php5-dev apache2-prefork-dev build-essential and pecl install apc
3. apt-get install php-pear php5-dev gcc apache2-threaded-dev and pecl install apc
Three of these working, which is the most stable and the best? Please advise
------
More info:
1. # apt-get install php-apc
The following extra packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common file
libapache2-mod-php5filter libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libexpat1 libldap-2.4-2 libmagic1 libonig2 libqdbm14
libsasl2-2 libsasl2-modules mime-support php5-common psmisc ssl-cert
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom php-pear
libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal php5-gd
openssl-blacklist
The following NEW packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common file
libapache2-mod-php5filter libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libexpat1 libldap-2.4-2 libmagic1 libonig2 libqdbm14
libsasl2-2 libsasl2-modules mime-support php-apc php5-common psmisc ssl-cert
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,175 kB of archives.
After this operation, 21.5 MB of additional disk space will be used.
2. # apt-get install php-pear php5-dev gcc apache2-threaded-dev
The following extra packages will be installed:
apache2-utils apache2.2-bin apache2.2-common autoconf automake autotools-dev
binutils comerr-dev cpp cpp-4.7 file gcc-4.7 krb5-multidev libapr1
libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-dev
libaprutil1-ldap libc-dev-bin libc6-dev libexpat1 libexpat1-dev libgmp10
libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6
libkrb5-dev libldap-2.4-2 libldap2-dev libltdl-dev libltdl7 libmagic1
libmpc2 libmpfr4 libmysqlclient-dev libmysqlclient18 libonig2 libpcre3-dev
libpcrecpp0 libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2
libsasl2-modules libsqlite3-dev libssl-dev libssl-doc libtool linux-libc-dev
m4 manpages-dev mime-support mysql-common php5-cli php5-common psmisc shtool
ssl-cert uuid-dev zlib1g-dev
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom autoconf2.13
autoconf-archive gnu-standards autoconf-doc gettext binutils-doc doc-base
cpp-doc gcc-4.7-locales gcc-multilib make automake1.9 flex bison gdb gcc-doc
gcc-4.7-multilib libmudflap0-4.7-dev gcc-4.7-doc libgcc1-dbg libgomp1-dbg
libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
binutils-gold krb5-doc python glibc-doc krb5-user libtool-doc
postgresql-doc-9.1 libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal sqlite3-doc automaken gfortran
fortran95-compiler gcj openssl-blacklist
The following NEW packages will be installed:
apache2-threaded-dev apache2-utils apache2.2-bin apache2.2-common autoconf
automake autotools-dev binutils comerr-dev cpp cpp-4.7 file gcc gcc-4.7
krb5-multidev libapr1 libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-dev libaprutil1-ldap libc-dev-bin libc6-dev libexpat1
libexpat1-dev libgmp10 libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8
libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap-2.4-2 libldap2-dev
libltdl-dev libltdl7 libmagic1 libmpc2 libmpfr4 libmysqlclient-dev
libmysqlclient18 libonig2 libpcre3-dev libpcrecpp0 libpq-dev libpq5
libqdbm14 libquadmath0 libsasl2-2 libsasl2-modules libsqlite3-dev libssl-dev
libssl-doc libtool linux-libc-dev m4 manpages-dev mime-support mysql-common
php-pear php5-cli php5-common php5-dev psmisc shtool ssl-cert uuid-dev
zlib1g-dev
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.2 MB of archives.
After this operation, 136 MB of additional disk space will be used.
3. # apt-get install php-pear php5-dev apache2-prefork-dev build-essential
The following extra packages will be installed:
apache2-utils apache2.2-bin apache2.2-common autoconf automake autotools-dev
binutils comerr-dev cpp cpp-4.7 dpkg-dev fakeroot file g++ g++-4.7 gcc
gcc-4.7 krb5-multidev libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libapr1 libapr1-dev libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-dev libaprutil1-ldap libc-dev-bin
libc6-dev libdpkg-perl libexpat1 libexpat1-dev libfile-fcntllock-perl
libgmp10 libgomp1 libgssrpc4 libitm1 libkadm5clnt-mit8 libkadm5srv-mit8
libkdb5-6 libkrb5-dev libldap-2.4-2 libldap2-dev libltdl-dev libltdl7
libmagic1 libmpc2 libmpfr4 libmysqlclient-dev libmysqlclient18 libonig2
libpcre3-dev libpcrecpp0 libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2
libsasl2-modules libsqlite3-dev libssl-dev libssl-doc libstdc++6-4.7-dev
libtimedate-perl libtool linux-libc-dev m4 make manpages-dev mime-support
mysql-common patch php5-cli php5-common psmisc shtool ssl-cert uuid-dev
zlib1g-dev
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom autoconf2.13
autoconf-archive gnu-standards autoconf-doc gettext binutils-doc doc-base
cpp-doc gcc-4.7-locales debian-keyring g++-multilib g++-4.7-multilib
gcc-4.7-doc libstdc++6-4.7-dbg gcc-multilib automake1.9 flex bison gdb
gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg
libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
binutils-gold krb5-doc python glibc-doc krb5-user libtool-doc
postgresql-doc-9.1 libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal sqlite3-doc libstdc++6-4.7-doc automaken
gfortran fortran95-compiler gcj make-doc ed diffutils-doc openssl-blacklist
The following NEW packages will be installed:
apache2-prefork-dev apache2-utils apache2.2-bin apache2.2-common autoconf
automake autotools-dev binutils build-essential comerr-dev cpp cpp-4.7
dpkg-dev fakeroot file g++ g++-4.7 gcc gcc-4.7 krb5-multidev
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libapr1 libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-dev
libaprutil1-ldap libc-dev-bin libc6-dev libdpkg-perl libexpat1 libexpat1-dev
libfile-fcntllock-perl libgmp10 libgomp1 libgssrpc4 libitm1
libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap-2.4-2
libldap2-dev libltdl-dev libltdl7 libmagic1 libmpc2 libmpfr4
libmysqlclient-dev libmysqlclient18 libonig2 libpcre3-dev libpcrecpp0
libpq-dev libpq5 libqdbm14 libquadmath0 libsasl2-2 libsasl2-modules
libsqlite3-dev libssl-dev libssl-doc libstdc++6-4.7-dev libtimedate-perl
libtool linux-libc-dev m4 make manpages-dev mime-support mysql-common patch
php-pear php5-cli php5-common php5-dev psmisc shtool ssl-cert uuid-dev
zlib1g-dev
0 upgraded, 83 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.0 MB of archives.
After this operation, 169 MB of additional disk space will be used.