N
N
Nurlan2015-06-01 15:05:40
PHP
Nurlan, 2015-06-01 15:05:40

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]

Output of dpkg -l|grep php if anyone needs it.
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

He doesn't like php5-common with his version, when he tries to update php5-common, he wants to fucking update/remove everything, kind of fat for a package that installs documentation and examples for php5 . I wanted to build xhprof from source, for this he needs phpize, and for him php5-dev, and he wants to remove a hundred packages. Maybe somewhere you can dig xhprof which will get up on 5.5.24? The main problem is that the server is combat and this makes you strive for any possible fall. I will be glad to ideas and councils.
>Solution<

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2015-06-11
@xtreme

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 question

Ask a Question

731 491 924 answers to any question