I have installed NetBeans on Windows XP machine. I have also downloaded XDebug but I am not sure how to configure to debug the remote server(development machine). My development server is windows 2008 server(64 bit). What version of XDebug do I have to use? My local machine is Windows XP. I appreciate any suggestions.
I know it's far to late. But maybe the answer is helpful to someone passing by the post.
You can find customized installation steps here. The link provided is a reference to a page in which you paste in your php info. The page prints a list of steps to setup xdebug on your machine.
If the link is dead at the time of reading this post, please search using the keywords "xdebug tailored installation steps". This should take you directly to the page in question.
Hope this helps.
Related
I want to build webservices in php.
I understand I'll need a server but I'm not sure if I should go with apache24 or wamp.
I also understand I'll need some SQL database but not sure which one.
I can't find a source that will help me figure the installations and the basics of beginning php web service development.
While you will get mixed answers, I use WAMP, and haven't has any issues. Basic instructions are right on the home page.
WAMP = Windows, Apache2, PHP and a MySQL ~ so it's pretty much all you need to get started.
There are also tutorials that you can find, by simply typing in "Wamp install instructions" into Google search.
~
Re: "the basics of beginning php web service development."
See: https://www.w3schools.com/php/
You can also find sql stuff on w3schools
As Kastener said, you might get mixed answers, after all it's personal taste and experience. As you have said windows 7, I am answering. I am using XAMPP on my windows 7 32bits and 64bits laptops. XAMPP comes with Apache Server, PHP and mySql packed in it and a hassle-free windows installer. Only minor settings to be done. I find easy to configure and use
I just updated my Wamp Server and got a problem now.
My SQLSRV extension wont get loaded correctly.
I dont know where the problem is exactly because i dont get any errors on startup. Also the error log is clean. There is just a little red triangle instead of a check in the php extension list:
Some Information:
Windows Server 2012 x64
Wamp 2.5 32BIT
PHP5.5
The Warning Icon means one of 2 things :-
Either the extension= line is in your php.ini but the dll it points to is not in your \ext folder
Or the dll exists in the ext folder but not in your php.ini
Which one is it in your case. If you updated WAMPServer the SQLServer dll does not come with any PHP install by default, so you will have to download it from the microsoft site.
hmm, i still cant understand this error. sure i know that i have to download the SQL driver manually. And i know only the "SQLSRV31.EXE" driver is working with Win Server 2K12. I downloaded this one and copied all php5.5 drivers into the /ext folder. Then i copied the name of the dll`s and added them to the php.ini:
http://fs1.directupload.net/images/141206/pkij993j.png
I will tryout installing the older wamp version with php5.4 included. May this will work =)
I also experienced the same thing happened to you. I tried many things but didn't work at all. I installed all the things required for Wamp like Microsoft visual basics 2012 but it still didn't worked.
This is the most important thing, for me this problem happened because i download wamp server 2.5 from the official wamp server site. http://www.wampserver.com/Mk
DON'T DO IT. it's totally a shit. then i download wamp server 2.4(old version) from this site called FIRE HORSE. this is the link http://www.filehorse.com/download-wampserver-32/
I downloaded and installed wamp server 2.4 from this site and it worked perfectly fine. and i also installed the latest Joomla version 3.4.5 in wamp server. Now i'm using it 100% fine. Many thanks for FIRE HORSE site.
I hope you all will find this useful and don't forget to tell me if i'm wrong because i'm still in learning progress i just shared my experience with you all. thank you.
Previously, i was able to set up the php debugging using xdebug and eclipse(say box1). But on a new machine(say box2) this is not at all working. I have been through a lot of forums and threads but dint find the solution to resolve my problem. Detail of the problem is:
I am using :
eclipse helios 32 bit,
WAMP 32 bit,
on my 64 bit win7 box. (same setup on box1 except box1 has win8 64 bit). On box2, i have successfully configured the xdebug as everything seems ok on the phpinfo() page(compared with the one on box1). checked all the setting in php.ini on both boxes, no difference.
Now, i setup the Debug As configuration on box2 (similar as on box1) and when i choose to debug eclipse on box2, eclipse does not do anything, while on box1 it start the debugging and launch the application in browser.
May be i am making some silly mistake, coz i have setup this once before as mentioned on box1.
But this time i am not having any luck.
Can you guys help please? i have been stuck here for 3 days now. :(
let me know if you need any more info.
Thanks.
[Solved]
I have downloaded a new version of eclipse Luna for PHP from the official website, and things are working fine.
Not Sure what was wrong with the eclipse Helios but for now my trouble is over.
Happy PHP.
Thanks.
I posted about this a week or so ago but since then I've done some further troubleshooting so I thought it was worth posting again:
I'm trying to set up PHP debugging in Komodo 7, using the Xdebug extension that ships with Komodo. The extension seems to be working fine, and Komodo responds when I try and start a debug session.
However, Komodo doesn't let me step-through my PHP code; instead it just runs through the code in a pane in the bottom-right of the Komodo window.
For the record, I don't have any Mapped URIs.
I'd really appreciate any help anyone's able to offer on this as I've got a website I need to debug for a great non-profit and this problem is preventing me from working.
Use the debugger connection preferences to change the port that Komodo listens to from the default value of 9000 to a system provided free port, 8080, or whatever port your remote host or localhost is running.
In the end I ran this past Activestate's tech support on IRC (#Komodo on irc.mozilla.org) who were really helpful. We couldn't work out what the problem was, though, so I ended up uninstalling XAMPP and Komodo, reinstalling both, and then following the instructions in the Komodo docs.
hey
im trying to debug drupal with xdebug , here is the system info:
PHP Version 5.2.10-2ubuntu6
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
the thing is that im working via local network so my machine is like 192.168.1.100 and the server is 192.168.1.101
is there a way to debug it using xdebug ? i can use zend studio 8 or eclipse pdt or whatever software you can recommend to do this
please help me
I once setup the Drupal debugging environment with xdebug under windows. Not sure whether it applies to Ubuntu as well. But you can take a look and try. Don't forget to post your feedback here (or directly reply to my blog there:). Here's the link
Update: got it working on my Ubuntu 10.10. Basically the steps in the above links are fine, except you might need to build the xdebug your self, which is quite well documented in its documentation.
Yes, it is quite easy to set up if you follow the xdebug instructions. Just make sure that the xdebug port is available over the network (in your xdebug.ini) and that it is enabled and it will work as if it were installed locally.