PHP Zend Debugger yapılandırma

4 Cevap php

Merhaba ben php için yeni, ben şu anda Tutulma kullanarak php öğrenme. Ben bu çizgi eklemişti pencereler: ben zend Debugger c benim php.ini mağaza kurmak zorunda biliyorum:

[Zend]
zend_extension=c:/php/ext/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
zend_debugger.connector_port=10013

ama komut istemi i i Zend hata ayıklayıcı yüklemek asla göstermiştir php-m çalıştı. Ben emin değilim nerede Phpinfo Ayrıca herhangi bir zend bilgilerini göstermek asla kontrol yanlış gider.

4 Cevap

On a browser go to: http://localhost/?phpinfo=1

look for "Loaded Configuration File" and take a note of the path

Now open a DOS prompt window (Start > Run > (type) cmd) and at the command line type c:\path\to\your\php\php.exe -r phpinfo(); |more (press CTRL+C to break)

Again look for:
"Loaded Configuration File" and take a note of this path.

Bu sizin web sunucusu ve CLI sürümü için farklı bir php.ini kullanıyor olmanız olabilir.

You will need to add the config changes to both php.ini files or put the config in a file called zend.ini and place that in the folder that is mentioned in your phpinfo output under:
"Scan this dir for additional .ini files"

Ben ayıklayıcı iş yapma çok sorunları vardı. Şimdi ücretsiz ZendServer CE kullanıyorum ve konfigürasyon çok daha kolaydır.

Ayrıca ben Zend Siteden indirilen Eclipse + FDT, kullanın.

Bu doğru dışarı kutunun çalışması gerekir. Neden ZendServer kullanmıyor? Eğer bir paket içinde istediğiniz her şeyi olsun.

Zend Debugger hakkında Zend Server çevrimiçi Yardım bu bağlantıyı bakın:

http://files.zend.com/help/Zend-Server/zend-server.htm#debugger_component.htm

Windows üzerinde parçacığı güvenli PHP kullanarak zaman ben aynı şeyi yaşadım.

Zend Debugger sürümü bugüne kadar artık Windows üzerinde PHP parçacığı güvenli tatlar çalışan destek. PHP olmayan bir thread-safe (aka NTS) lezzet geçiş benim için bu sorunu düzeltildi.

Buraya bakın: http://forums.zend.com/viewtopic.php?f=59&t=1918#p13729