Sono in esecuzione di Apache 2.2.19 e PHP 5.2.17. Volevo configurare il debug con Xdebug, così sono andato a xdebug.org e scaricato: php_xdebug-2.1.2-5.2-VC6-nts.dll (ho php versione x86 VC6). Ho copiato a c:\Program Files (x86)\php\ext\php_xdebug-2.1.2-5.2-vc6-nts.dll
non può attivare Xdebug su PHP 5.2.17
cura php.ini (aggiunto):
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_log = "c:\host\xdebug.log"
zend_extension_ts="c:\Program Files (x86)\php\ext\php_xdebug-2.1.2-5.2-vc6-nts.dll"
Ma io ancora non riesco a vedere in phpinfo) informazioni xdebug (- in modo che non sta funzionando. Apache log di errore dice:
Failed loading c:\Program Files (x86)\php\ext\php_xdebug-2.1.2-5.2-vc6-nts.dll
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in
Off topic, ma importante: PHP 5.2 è stato completamente supportato da due anni. E ha conosciuto problemi di sicurezza che non hanno e non saranno patch. Si consiglia vivamente di eseguire l'aggiornamento ad almeno 5.3. (Un sacco di popolari software PHP ora richiede anche 5.3, quindi se stai usando software di terze parti potresti scoprire che non puoi aggiornarli finché non hai aggiornato PHP, che ti lascerà con ulteriori buchi di sicurezza) – SDC