How to link the local host to run php in netbeans | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to link the local host to run php in netbeans

1st Mar 2019, 10:47 AM
Devi Sri
Devi Sri - avatar
8 Answers
+ 8
It seems there's a problem with the XAMPP installation, try to uninstall it first, then reinstall. If it happens again, you may need to re-download the XAMPP installer, probably you have a corrupt installer. Try that for now, and let me know how it works,.
1st Mar 2019, 12:35 PM
Ipang
+ 7
You need to be more descriptive with that question. * Did it work before, or is this first installation? * You said there's error, what error? is there message shown? * What O/S you use? which PHP version? * Are you using PHP software package or you install PHP and web server individually? * What steps you have taken to counter the problem, and how did they go?
1st Mar 2019, 11:42 AM
Ipang
0
There's an error local host refused to connect
1st Mar 2019, 10:48 AM
Devi Sri
Devi Sri - avatar
0
Netbeans by default auto run localhost if you have xampp installed and working folder reside in htdocs folder. If you have local php server run on certain port number by cmd php - S localhost:port, netbeans allow you to set the custom port with localhost too.
1st Mar 2019, 11:23 AM
Calviղ
Calviղ - avatar
0
Wr its htdocs folder...
1st Mar 2019, 11:26 AM
Devi Sri
Devi Sri - avatar
0
This the 1st time installation... Windows 7&netbeans 8.2
1st Mar 2019, 11:44 AM
Devi Sri
Devi Sri - avatar
0
Nw the error"something is wrong with the xampp installation "in the netbeans windows... Now wat to do..... Any one help me
1st Mar 2019, 12:18 PM
Devi Sri
Devi Sri - avatar