phpzend-frameworkzend-debugger

PHP Zend Debugger configuration


Hi i am new to php, I currently learning php using eclipse. I know i have to install the zend debugger my php.ini store at c:windows i had added in these line:

[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

but on command prompt i tried php -m it shown that i never install zend debugger. I not sure where goes wrong I check phpinfo also never show any zend information.


Solution

  • 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.

    It could be that you are using a different php.ini for your webserver and for the CLI version.

    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"