Whenever I try debugging php, I keep getting the two following errors…
- “Connection with Zend Debugger was not established” with a link to ‘Validate installation'
- “Zend Degubber extension is not installed.” With a link to ‘Show phpinfo.’
After digging around for the last 2 days, I feel like I’ve gotten really close to resolving this but I can’t seem to get past this last hurdle. I'm now stuck at the xdebug.org site where it asked me to run phpinfo and paste the contents into the browser so it could help me to resolve xdebug issues. I did that and it gave me the following info…
- Xdebug installed: 2.1.0
- Server API: Apache 2.0 Handler
- Windows: no
- Zend Server: no
- PHP Version: 5.3.6
- Zend API nr: 220090626
- PHP API nr: 20090626
- Debug Build: no
- Thread Safe Build: no
- Configuration File Path: /Applications/MAMP/bin/php/php5.3.6/conf
- Configuration File: /Library/Application Support/appsolute/MAMP PRO/conf/php.ini
- Extensions directory: /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626
It also gave me some instructions with 9 very simple steps. From step 4, it had me do a bit more troubleshooting, telling me to run ‘phpize’, which I did. It said, “perhaps the wrong ‘phpize’ binary is found on the path, you can run configure as follows”
- "/full/path/to/php/bin/phpize"
- "./configure --with-php-config=/full/path/to/php/bin/php-config"
the results from the 'phpize' gives me the directory of "/usr/include/php/..." and in my case it should be...
“./configure --with-php-config=/Applications/MAMP/bin/php/php5.3.6/bin/php-config”.
However, when I run './configure...' I get the following error…
“configure: error: cannot find install-sh, install.sh, or shtool in config "."/config”
There’s no “install.sh on my Mac, but there’s a ‘shtool’ and a install-sh. The install-sh is in a ‘python’ directory so I’m assuming it’s not the ‘install-sh’ I need? So I tried running the “configure” command from within the same directory as shtool and it still gave me the “cannot find…” error.
I tried looking up that error, but kept running into roadblocks, mostly with dissimilar environments.
Any ideas are appreciated.