In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This paper gives an example of the method of compiling and installing xdebug in Ubuntu environment. Share with you for your reference, the details are as follows:
Earlier, we introduced the method of compiling and installing PHP and Nginx in Ubuntu environment, and here we will explain the method of compiling and installing xdebug with source code.
Download and extract xdebug
Xdebug download address: https://xdebug.org/download.php
I downloaded 2.3.3. In fact, I didn't know the difference between these versions, so I downloaded one at random.
Cd / usr/local/srcwget https://xdebug.org/files/xdebug-2.3.3.tgztar-zxvf xdebug-2.3.3.tgz
Compile and install xdebug
Php is installed under 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-configmake & & make install
After the installation is successful, the following information is displayed:
Installing shared extensions:
/ opt/php/lib/php/extensions/no-debug-non-zts-20131226/
Configure php.ini
We added the xdebug extension at the end of php.ini:
Zend_extension=/opt/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
Restarting nginx takes effect.
If you cannot find php.ini, you can use / opt/php/bin/php-I | grep php.ini to find the path information of php.ini. If there is no php.ini file in the corresponding path, you can cpoy a php.ini-development or php.ini-production from the extracted php source code.
I hope what is described in this article will be helpful to the configuration of your Ubuntu environment.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.