|
Re: How do you get debugging to work? [message #632780 is a reply to message #630914] |
Thu, 14 October 2010 09:12 |
John Crisp Messages: 5 Registered: October 2010 |
Junior Member |
|
|
peredurabefrog wrote on Tue, 05 October 2010 10:52 | Can anyone explain to me in simple terms how I can get debugging working in PDT?
|
Just going through the process myself but have got a bit further, though I am using Linux....
Quote: |
I'm using Windows XP with XAMPP as my development environment and would like to use Eclipse PDT as my IDE.
|
Probably easier to install on Linux than Windows (not saying I am biased, but I think it is generally easier to setup a LAMP system out of the box)
Quote: |
Thinking it would be easier,
|
Ho Ho !
Been there, done that
In any event, you need to get your XAMPP environment working correctly first.
Quote: | Finally I restarted Apache, hoping to see the Zend Modules noted as set out in the document. But phpinfo() gives nothing and neither does php -m. So no luck there and I'm a bit stuck as to what I should do next.
|
This seems to indicate that either the web server or php aren't running correctly as you should get SOMETHING from those commands.
I would get that right first and forget the debugger bit for the minute. However, I can't really help you much more on a Windows setup
Try getting a basic html page up, then a phpinfo page.
Re the Zend debugger, I got the plugins from here :
http://www.zend.com/en/community/pdt
http://downloads.zend.com/pdt/debugger/org.zend.php.debug_fe ature-I20081217.zip
With linux you need to use the correct version (5.1, 5.2, 5.3 or whatever) With windows you need the win32.x86 / php5 version.
Let us know how you get along.
B. Rgds
John
|
|
|
|
Re: How do you get debugging to work? [message #632950 is a reply to message #632921] |
Thu, 14 October 2010 18:30 |
John Crisp Messages: 5 Registered: October 2010 |
Junior Member |
|
|
peredurabefrog wrote on Thu, 14 October 2010 12:28 | Sorry John, I misled you when I said I got nothing from phpinfo() etc. What I meant was that I got nothing in respect of the Zend debugger. Apache is working just fine.
|
Ah, that'll help then No worries.
Quote: | Unfortunately, I have no choice of development environment. At home, it's Linux (Ubuntu), but in work - where I'm trying to get debugging working - it's WinXP.
|
Work from home ? Change mental attitudes at work ? Sneaky dual boot ?
Quote: | I've used the downloads from Zend and followed the instructions to the best of my ability, so I don't really understand what the problem is.
|
So much for RTFM then ! I always do so I don't get b*llcked when posting, but they often don't solve the problem.
So you get a normal result from phpinfo() but no sign of a loaded module. my php -m gives :
[PHP Modules]
bz2
calendar
ctype
curl
date
dbase
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
ldap
libxml
mbstring
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend Debugger
zip
zlib
[Zend Modules]
Zend Debugger
As long as you have the PHP5 win32 version of the dll you should be fine.
Anything in the log on Apache startup ? Mus be something to say what has or hasn't happened ?
Did it not find the dll ? If it found it, could it access/load it i.e. permissions ?
If need be I'll fire up a Vmware Xp session & try it myself.
Keep me posted.
B. Rgds
John
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds