I have been mucking around for days, trying to find the right combination that lets me debug with breakpoints and variable viewing, in Eclipse, without crashing Apache.
Here's what I've already been reading:
Basically what would be great is if folks could post their working (ie debugging with breakpoints and local variable viewing in Eclipse) Win7 64bit configurations, including:
Thanks! I miss my debugger since I got a new laptop with Win 7 :(
Note: Moved to SuperUser
https://superuser.com/questions/231818/what-php-xdebug-and-eclipse-configurations-work-on-windows-7-64-bit
So, here is what I am using now on my Windows 7 64 laptop, which seems to be working:
I used the WAMP Server 2.1d 64bit installer . WAMP is waaaay better than XAMPP, like, I can't even believe. My life is good again.
I ran in to a couple of problems still, namely the OpenSSL files included with Apache didn't work. But I just downloaded the latest files from the OpenSLL and overwrote the files WAMP came with, and now it works great.
I also had to enable some of the bonus features on PHPMyAdmin I like, and had to add the INI parameter to the mySql service to use the MySql Administrtaor program, but overall it worked slick. Very stable now.
Anyway, I can set breakpoints and inspect local variables now! And still use my favorite Eclipse IDE! Thanks for everyone's suggestions, please feel free to continue to post working configurations to help everyone else out.
I had the same problem.
I had wamp 2.2 installed with the following:
the 64 bit thread safe version of Apache built with vc-9 \\
Apache 2.4.2
Php 5.4.3
MySQL 5.5.24
php_xdebug-2.2.0-5.4-vc9-x86_64.dll - this version of XDebug did not work, but after
downloading and installing:
php_xdebug-2.2.3-5.4-vc9-x86_64.dll - the most recent threadsafe version, my eclipse debugger is working properly.
Windows 7 64bit. I use X-debug 2.1.0 on Netbeans 6.9.1 and 7.0 beta, PHP 5.2.6, Apache 2.2.3 if I recall, but it shouldn't matter.
php.ini:
zend_extension_ts="C:\work\xampp\php\ext\php_xdebug-2.1.0-5.2-vc6.dll"
xdebug.remote_enable=On
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
In Netbeans menu Tools --> Options --> PHP --> General: make sure the PHP interpreter file points correctly, and the Xdebug port is 9000.
Finally, for web site debugging I use Easy XDebug for Firefox, which adds the Xdebug session parameter in the requests.
I am currently using Windows 7 64bit and I am currently using the EasyPHP Stack to develop my PHP project. As far as I am aware you can easily use 32bit without any problems at all. The EasyPHP stack includes XDebug so it should be relatively simple for you to set up.
Netbeans can be downloaded in either 32bit or 64bit however there are meant to be problems with using the 64bit version and I have been using the 32bit Netbeans without any problems.
Hope this will be helpful!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.