This article describes how to compile and install xdebug in Ubuntu environment. Share with you for your reference, the details are as follows: We have previously introduced how to compile and install PHP and Nginx in Ubuntu. Here we will explain how to compile and install xdebug from source code. Download and unzip xdebug xdebug download address: https://xdebug.org/download.php I downloaded 2.3.3. Actually, I don’t know the difference between these versions, so I just downloaded one at random. cd /usr/local/src wget https://xdebug.org/files/xdebug-2.3.3.tgz tar -zxvf xdebug-2.3.3.tgz Compile and install xdebug PHP is installed in the /opt/php path cd /usr/local/src/xdebug-2.3.3 /opt/php/bin/phpize ./configure --prefix=/opt/xdebug --with-php-config=/opt/php/bin/php-config make && make install After successful installation, the following information will be displayed:
Configure php.ini We add the xdebug extension at the end of php.ini: zend_extension=/opt/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so Restart nginx to take effect. If you can't find php.ini, you can use I hope this article will help you configure your Ubuntu environment. You may also be interested in:
|
<<: MySQL 8.0.12 Simple Installation Tutorial
>>: Vue.js cloud storage realizes image upload function
This article uses examples to illustrate the opti...
When talking about this issue, some people may ask...
As shown in the following figure: If the version ...
Creating a Cursor First, create a data table in M...
environment System: Ubuntu 18.04 Software: qt5.12...
1. Create a docker network card [root@i ~]# brctl...
Recently, a system was deployed, using nginx as a...
Table of contents Overview Type Assertions in syn...
The three-dimensional column chart consists of th...
Table of contents Preface: Result: 1. Polymerizat...
Nginx is developed in C language and is recommend...
Preface DISTINCT is actually very similar to the ...
In front-end development, $ is a function in jQue...
1. DOCTYPE is indispensable. The browser determin...
Query Cache 1. Query Cache Operation Principle Be...