Netbeans php author comment1/15/2024 It says that the Step Debugger is enabled (everything else disabled). In any case, I created a temporary page with the php info as you directed, and there is indeed a dedicated section for it. The site uses mysql, so it's beyond me on how to get all that running locally. How do I make this work? I don't understand. I've also tried the following different combinations for (or instead of) xdebug.client_port=: xdebug.client_port=127.0.0.1 etc/php/8.2/mods-available/xdebug.ini (which is symlinked to /etc/php/8.2/cli/conf.d/20-xdebug.ini): zend_extension=/usr/lib/php/20220829/xdebug.so Always "waiting for connection." No xdebug log file is created for me to inspect.Įnd of /etc/php/8.2/cli/php.ini: I'm trying to run xdebug locally as well (can I even do that with php application from remote server?), and I can't get it to run. But I'm still getting "Waiting for connection" when I start debugging in Netbeans, and it never connects.Ĭan anyone explain how to set up debugging on a remote server? To have the line: zend_extension = xdebugįiles in adjacent directories, as your system seems to be configured with a separate php.iniįile for the web server and command line.Īnd I restart php and nginx. Xdebug.remote_log = /tmp/xdebug_remote.logĪnd I also add the same (minus ) to sudo nano /etc/php/7.4/cli/conf.d/20-xdebug.iniĪlso, the latter part of the wizard's instructions: In /etc/php/7.4/cli/php.ini at the end of the file, I add (12.3.456.78 is my fake public IP address for my home network where my Ubuntu Desktop laptop is on) at the end of the file: If I try to run the debugger (on port 9003 that it was preset to), and from the headless remote server try to telnet to port 9003 and my public IP address, it connects. I went in my router on my home network, and port forwarded 9003 to my laptop's internal IP address. Do I set it up on my local laptop? Or do I set it up on the headless remote server? Or both? For example, I have Xdebug installed on my headless server, and tried to follow the wizard's instructions. What I can't figure out is how to set up Xdebug. Everything downloaded fine with an sftp connection. The remote server is a headless ubuntu server in an Oracle compute instance. I have Netbeans installed on a local Ubuntu Desktop and have set up Netbeans "Php Application from Remote Server". Mysqli tutorial (how to use it properly).PHP UK, February 15–16, 2024, London, UK ( CFP)įor a full list of conferences see the list on php.net.Symfon圜on, December 5-6 (workshops) 7-8 (conference), 2023, Brussels, Belgium ( CFP).Laracon AU, November 16–17, 2023, Sydney, Australia.PHPCon Poland, November 17–18, 2023, Zawiercie, Poland ( CFP). Longhorn PHP, November 2–4, 2023, Austin, TX, USA.Dutch PHP Conference 2023, October 13, 2023, Online.CakeFest, September 28–Oct 3, 2023, Los Angeles, CA, USA.PHPKonf 2023, September 2, 2023, Istanbul, Turkey ( CFP).MARK YOUR POST AS SOLVED If your post has been solved, mark it as so by clicking Flair -> Solved.įor inline code, use `backticks` to look like this.įor a moderate amount of code, put it on separate lines, and prepend each line with four spaces, like this: įor a lot of code, use PasteBin or something similar. Please become familiar with these guidelines as we, as moderators, will use them to remove content that we deem to violate these guidelines. Self-promotion and/or linkdropping rules Our community adheres to the Reddit Self-Promotion Guidelines. No malicious/illegal software Don't ask for help with phishing software, for example. Don't take the provided answers away from them! 6. Don't delete an answered post People may be searching to solve a similar problem in the future. Use a meaningful title Titles like: "PHP Help", "Help please", "Beginner question", or "I need some help with resolving this issue" are not good and not meaningful. Actively participate when you make a post by answering questions and sharing solutions. Participate Posts that are only intended to get others to solve your problem add nothing to the community. If you believe someone is wrong, kindly inform them why you think so. When supplying code, preferably use PasteBin or similar. Help us help you! Provide details about your question and be as specific as possible. If someone answers your question, please mark your post as SOLVED.ġ. Review our github to see if your question already has a great answer. Post specific problems or questions you have about PHP or your code.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |