2014-06-23 5 views
7

मैं Linux Mint 16 उपयोग कर रहा था मेंटेनर रूप से अक्षम था, मैं अद्यतन आज संस्करण Linux Mint 17, सब कुछ सही ढंग से अपडेट किया जाता है, लेकिन xdebug सक्रिय नहीं था, इसलिए मैं इसकी स्थापना रद्द और इसे फिर से स्थापित किया है और मैंने देखा कि जब मैं xdebug स्थापित करने गया था, तो यह इस संदेश चेतावनी को दिखाता है कि आप सक्रिय नहीं कर सकते हैं।php5_invoke xdebug: कोई कार्रवाई नहीं की - मॉड्यूल के लिए apache2 SAPI

यह विस्तार के कुछ सुरक्षा मुद्दे के कारण है? मैं अब इस नई अद्यतन स्थापना xdebug कैसे सक्षम करूं?

[email protected] ~ $ sudo apt-get install php5-xdebug 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following NEW packages will be installed: 
    php5-xdebug 
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded. 
Need to get 0 B/253 kB of archives. 
After this operation, 982 kB of additional disk space will be used. 
Selecting previously unselected package php5-xdebug. 
(Reading database ... 272442 files and directories currently installed.) 
Preparing to unpack .../php5-xdebug_2.2.3-2build1_amd64.deb ... 
Unpacking php5-xdebug (2.2.3-2build1) ... 
Setting up php5-xdebug (2.2.3-2build1) ... 
php5_invoke xdebug: no action - module was disabled by maintainer for apache2 SAPI 

उत्तर

4

मैं मैन्युअल रूप से करने में कामयाब रहे फिर से सक्रिय, समाधान एक शॉर्टकट xdebug.ini फ़ाइल बनाने और लोड हो रहा है एक्सटेंशन फ़ोल्डर में पेस्ट करने के लिए है।

अपने डेस्कटॉप के लिए एक शॉर्टकट xdebug.ini फ़ाइल बनाएँ:

/etc/php5/mods-available/xdebug.ini 

इस फ़ाइल की सामग्री है:

zend_extension=xdebug.so 

कॉपी शॉर्टकट फ़ोल्डर में डेस्कटॉप पर निर्मित:

/etc/php5/apache2/conf.d/ 

xdebug.ini in folder mods-available in php5 xdebug.ini shortcut like as 20-xdebug.ini (renamed by me)

संबंधित मुद्दे