Testing PHP in Brackets with XAMPP
HTML-код
- Опубликовано: 10 сен 2024
- The built-in web server in Brackets cannot handle PHP development and testing. Using a local development environment with Brackets is necessary for PHP testing. This video demonstrates the workflow needed to use Brackets with XAMPP for PHP development and testing.
thank you for this excellent video. " a picture is worth a thousand words" especially when dealing with computer/programming topics.
+James Wilson Thank you. A bit stiff, but hopefully accurate and meaningful.
same :(
It works thanks for the video love it i've been stuck on finding how to do this for months
does not work
Try to set live preview but, when localhost, after i press done, it keep in asking for live preview base url
You may be forgetting to open the folder titled "htdocs" on brackets. In other words, when you save your file as .php, you must open up the folder that you saved your .php file in. In this case, you must open your "htdocs" folder.
Even that, not working
It's still not working. Please help me out, I noticed that Brackets is installed in htdocs for you, is that the case? I have brackets installed on desktop and the "localhost" did not work.
Great!! Main lesson here is to put "localhost/" when brackets prompts you to give preview base url
when I write the url for the live preview it shows me an error message: connection rejected... what should I do?
Hi Blaine
Thanks for your helpful instructions. But I cannot seem to make it work.
I'm using a mac and have followed the instructions step by step and the xamp. Added the folder to the ht_docs and created a test file and added this bit of code:
But I keep getting this result.
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.23 (Unix) OpenSSL/1.0.2j PHP/5.6.28 mod_perl/2.0.8-dev Perl/v5.16.3
I have tried the mammp server as well with the same results.
Can you help?
A couple of things come to mind: 1) make sure the apache server is running, 2) makes sure the file you are testing is inside of the htdocs folder of xampp (if you are on a Mac that should be in the Applications folder > XAMPP > xamppfiles > htdocs) and 3) make sure your path in the Brackets extension manager includes the protocol (e.g. localhost). I noticed in your comment that you wrote ht_docs, it should be htdocs and xampp should already have created the folder, you should not have created it.
I got help. It was the port number of the apache server that was wrong. Thanks :-)
how did u solve it
Thanks, is very good. I had troubles with Brackets and XAmpp but i seem this video and all is ok naw
Thank you so much!!!
thanks!
thank you so much
Thank you!!
thanks
tnx
still does'nt work
not working
SCHAMP XD
i love you bro, could've kissed you
thanks!