Answer the question
In order to leave comments, you need to log in
How to install Xhprof if it doesn't like php5-common version?
I wanted to do code profiling. Chose Xhprof because. before that I worked with him, but there was a problem with the installation.
aptitude install php5-xhprof
The following NEW packages will be installed:
php5-xhprof{b}
0 packages upgraded, 1 newly installed, 0 to remove and 494 not upgraded.
Need to get 13.6 kB of archives. After unpacking 74.8 kB will be used.
The following packages have unmet dependencies:
php5-xhprof : Depends: php5-common (= 5.5.25-1~dotdeb+7.1) but 5.5.24-1~dotdeb+wheezy.1 is installed and it is kept back.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) php5-xhprof [Not Installed]
rc php5-cgi 5.4.34-0+deb7u1 amd64 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.5.24-1~dotdeb+wheezy.1 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.5.24-1~dotdeb+wheezy.1 amd64 Common files for packages built from the php5 source
ii php5-curl 5.5.24-1~dotdeb+wheezy.1 amd64 CURL module for php5
ii php5-fpm 5.5.24-1~dotdeb+wheezy.1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-gd 5.5.24-1~dotdeb+wheezy.1 amd64 GD module for php5
ii php5-imagick 5.5.24-1~dotdeb+wheezy.1 amd64 imagick module for php5
ii php5-memcache 5.5.24-1~dotdeb+wheezy.1 amd64 memcache module for php5
ii php5-mysqlnd 5.5.24-1~dotdeb+wheezy.1 amd64 MySQL module for php5 (Native Driver)
ii php5-readline 5.5.24-1~dotdeb+wheezy.1 amd64 Readline module for php5
Answer the question
In order to leave comments, you need to log in
Unfortunately, there is no debian at hand, but, as far as I remember, in aptitude it was possible to select the version of the package if you run aptitude without parameters. In your case, you just need to install the appropriate version of the package, which has the current version of php as a dependency.
In general, profiling on combat servers is somehow wrong. I would probably make a separate server for profiling, and then either do without real connections, or turn off part of the combat traffic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question