Home » Language IDEs » PHP Development Tools (PDT) » AAArghhh! windows 64 bit PDT/Java/Eclipse/xdebug(installation and configuration help needed)
AAArghhh! windows 64 bit PDT/Java/Eclipse/xdebug [message #667923] |
Mon, 02 May 2011 19:09  |
Mike Cartwright Messages: 3 Registered: May 2011 |
Junior Member |
|
|
I have been developing PHP for a little while in Dreamweaver. I already had it installed and it works ok. But now I want to go to the PDT/Eclipse IDE and cannot get things working.
My system is a WIndows 7 64 bit and that seems to be the problem. I have tried downloading and installing several different ways, using different download files, but I seem to eventually wind up at the same point.
I get everything installed and working, but when I run a test PHP file, the breakpoints do not not seem to work correctly. This is the very simple test file:
<?php
echo 'this is a test';
$myvariable = "this is my variable";
phpinfo();
echo 'test again';
?>
I have preferences set to break at the first line. So I expect to initially suspend with no output, and then, as each instruction is stepped over, echo "this is a test". then the Variable is set, then PHP info displays, followed by echoing "test again".
But what actually happens is that neither echo statement does anything while single stepping through. But when the "phpinfo()" command is stepped into, both "this is a test" and phpinfo() displays.
I have tried loading both 64 bit and 32 bit versions of Java, and different eclipse packages, but the results are alaways the same.
am not tied to eclipse, but my web research leads me to believe that it is the most widely used.
What am I doing wrong? How do I get a decent IDE for PHP installed on a windows 7 64 bit machine?
|
|
|
Re: AAArghhh! windows 64 bit PDT/Java/Eclipse/xdebug [message #667954 is a reply to message #667923] |
Tue, 03 May 2011 00:11   |
elkuku Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Use Linux ;) sry..
I would guess, that implicit_flush is set to off ?
Try modifying your php.ini:
implicit_flush = On
output_buffering = 0
Maybe windows is not to blame (this time..)
Am 02.05.2011 14:09, schrieb Mike Cartwright:
> I have been developing PHP for a little while in Dreamweaver. I already
> had it installed and it works ok. But now I want to go to the
> PDT/Eclipse IDE and cannot get things working.
>
> My system is a WIndows 7 64 bit and that seems to be the problem. I have
> tried downloading and installing several different ways, using different
> download files, but I seem to eventually wind up at the same point.
>
> I get everything installed and working, but when I run a test PHP file,
> the breakpoints do not not seem to work correctly. This is the very
> simple test file:
>
> <?php
> echo 'this is a test';
> $myvariable = "this is my variable";
> phpinfo();
> echo 'test again';
> ?>
>
> I have preferences set to break at the first line. So I expect to
> initially suspend with no output, and then, as each instruction is
> stepped over, echo "this is a test". then the Variable is set, then PHP
> info displays, followed by echoing "test again".
>
> But what actually happens is that neither echo statement does anything
> while single stepping through. But when the "phpinfo()" command is
> stepped into, both "this is a test" and phpinfo() displays.
>
> I have tried loading both 64 bit and 32 bit versions of Java, and
> different eclipse packages, but the results are alaways the same.
>
> am not tied to eclipse, but my web research leads me to believe that it
> is the most widely used.
>
> What am I doing wrong? How do I get a decent IDE for PHP installed on a
> windows 7 64 bit machine?
|
|
| |
Re: AAArghhh! windows 64 bit PDT/Java/Eclipse/xdebug [message #668067 is a reply to message #667991] |
Tue, 03 May 2011 15:12   |
Mike Cartwright Messages: 3 Registered: May 2011 |
Junior Member |
|
|
I removed everything and did a clean install. I had used the windows installer before, this time I use the zip file.
Now it all works better, but not as I expected. Once I set the output buffer to zero, I expected that every output would appear on the internal browser as it was encountered.
So in my test PHP file, the first echo statement doesn't doe anything until the phpinfo() is encountered, then it is output along with the phpinfo(). BUT, now the second echo works as I anticipated - when I step into it, it prints on the internal browser.
So, as a complete newbie to eclipse/xdebug/xampp, I am left wondering if it is not configured correctly, or if it is actually working as it should, but I am in error thinking I should see the first echo right away?
|
|
| | | | | |
Goto Forum:
Current Time: Sat Apr 01 21:48:43 GMT 2023
Powered by FUDForum. Page generated in 0.02739 seconds
|