我無意中在/etc/php5/conf.d
文件夾中丟失了xdebug.ini
文件。如何恢復,而我正在嘗試使用apt-get
安裝xdebug,它會給出如下所示的註釋。安裝Xdebug時丟失了Xdebug.ini文件
Not replacing deleted config file /etc/php5/conf.d/xdebug.ini
我在谷歌搜索了這個,我能找到只有一個有用的答覆。我無法理解如何做到這一點,我也粘貼在這裏,所以請建議我如何繼續。
I lost my xdebug.ini file on my ubuntu slice. What happened was that I had accidentally installed xdebug via apt-get as well as pecl. I was removing the pecl installation, which also removed the ini file. I then tried reinstalling through apt-get, but i get the message:
Setting up php5-xdebug (2.0.3-1) ...
Not replacing deleted config file /etc/php5/conf.d/xdebug.ini
Aaaaaarghhhh!! How do I get back my ini file??? anyone have a clue?
rubing January 2009
I just fixed this by purging xdebug using dpkg with the -P flag. And then reinstalling with apt-get. No worries!
Ah geez, it looks the whole file is just a link to the module:
zend_extension=/usr/lib/php5/20060613/xdebug.so