> Will someone(kindly or otherwise) point me to docs that show how to set > up NB-12 with a server to write/debug/test php/mysql stuff locally?
Here you go: http://netbeans.apache.org/kb/docs/php/ You'll see PHP 5 mentioned a lot, but just ignore that and use 7.x (where x is the newest your host provides), the instructions haven't changed significantly. On Mon, Jul 6, 2020 at 8:03 PM Alan <netbeans.5zc...@ambitonline.com> wrote: > > That's a question with a pretty broad scope. There isn't much that's Netbeans > specific. My preferred approach is to set up a local development environment > with Apache and MySQL, but there's a single-threaded web server built into > PHP as well. Getting the xdebug set up seems to cause the most trouble, but > there are lots of resources for that. > > After that it's really just a matter of telling Netbeans where your php.exe > is and which version to do syntax checking for. > > If you are debugging on your host, they probably won't have xdebug available > and you're stuck with debugging with echo and print_r();. > > Beyond the basics, the built-in composer interface is a little clunky and > runs in non-interactive mode. For this reason I personally prefer to use > composer from the command line. > > Hope that helps... > > On 2020-07-06 21:20, Ernie Rael wrote: > > On 7/6/2020 4:47 PM, Alan wrote: > > > 5.6 and 7.0 are ancient, unsupported.You should be running 7.3 at least, and > 7.4 offers more great features and performance. > > Thanks for the info, but I've got 6 months. I was in a rush, my bad for not > doing up front research. I will certainly keep your words in mind and plan on > changing hosts. Fortunately my needs are simple for the foreseeable future. > Now that I look at current versions, I'm embarrassed that I got taken so > badly. But that's orthogonal to what I need now. (But any tips on how to find > a good host appreciated) > > Still, my main concern now is setting up NetBeans for php/mysql dev. I'm > hoping to get some links to best practice with NB docs so I won't start > digging in the wrong spot. > > -ernie > > If your starter kit package doesn't offer a current PHP, you have a crap > host. Likely there will be many other problems. I strongly suggest finding a > better one. [my day job is web hosting, I have seen many horror stories from > cheap hosts]. > > On 2020-07-06 18:55, Ernie Rael wrote: > > Hi all, > > Perhaps I'm finally reaching the late 20th century... > > I've gotten a web hosting package (starter kit). It has mysql and php; php > 5.6 by default, can select 7.0. (MySql seems to be 5.6, coincidence?) > > Will someone(kindly or otherwise) point me to docs that show how to set up > NB-12 with a server to write/debug/test php/mysql stuff locally? > > Is there any disadvantage to selecting php 7.0? > > -ernie > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > -- - Juan Algaba --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists