J
J
jet222016-03-04 16:28:49
PHP
jet22, 2016-03-04 16:28:49

How to install X-Debug on Linux Mint for PHP-FPM and make friends with PHP Storm?

Hey!
I'm trying to install xdebug for php-fpm. In fact, everything should have been trite - in the console I wrote:

sudo su
pecl install xdebug

Added the following line to /etc/php5/fpm/php.ini:
zend_extension="/usr/lib/php5/20121212/xdebug.so"
service php5-fpm restart
But it doesn't show up in phpini(). Help please. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jet22, 2016-03-09
@jet22

It turned out that I had an old version of x-debug .. So I installed x-debug on PHP version 5.4, and then updated PHP to version 5.6 and x-debug remained for the old version. Installing a new version of x-debug helped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question