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.

Комментарии • 27

  • @jameswilson9019
    @jameswilson9019 8 лет назад +1

    thank you for this excellent video. " a picture is worth a thousand words" especially when dealing with computer/programming topics.

    • @BlaineRobertson
      @BlaineRobertson  8 лет назад

      +James Wilson Thank you. A bit stiff, but hopefully accurate and meaningful.

    • @AFNM4
      @AFNM4 5 лет назад

      same :(

  • @robertskaz3687
    @robertskaz3687 5 лет назад +1

    It works thanks for the video love it i've been stuck on finding how to do this for months

  • @alisxbl481
    @alisxbl481 7 лет назад +12

    does not work

  • @izxlnt7473
    @izxlnt7473 7 лет назад +6

    Try to set live preview but, when localhost, after i press done, it keep in asking for live preview base url

    • @Playstationshow
      @Playstationshow 7 лет назад

      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.

    • @taariqq
      @taariqq 7 лет назад +3

      Even that, not working

  • @samridhigupta1657
    @samridhigupta1657 3 года назад

    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.

  • @hakemate7005
    @hakemate7005 6 лет назад +1

    Great!! Main lesson here is to put "localhost/" when brackets prompts you to give preview base url

  • @lorenainfante990
    @lorenainfante990 6 лет назад

    when I write the url for the live preview it shows me an error message: connection rejected... what should I do?

  • @thuemoes
    @thuemoes 7 лет назад

    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?

    • @BlaineRobertson
      @BlaineRobertson  7 лет назад

      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.

    • @thuemoes
      @thuemoes 7 лет назад +1

      I got help. It was the port number of the apache server that was wrong. Thanks :-)

    • @alisxbl481
      @alisxbl481 7 лет назад

      how did u solve it

  • @rodolfolopezp
    @rodolfolopezp 7 лет назад

    Thanks, is very good. I had troubles with Brackets and XAmpp but i seem this video and all is ok naw

  • @elizavetawallace4356
    @elizavetawallace4356 7 лет назад

    Thank you so much!!!

  • @Henrique91Teixeira
    @Henrique91Teixeira 8 лет назад +1

    thanks!

  • @simoneanthony9868
    @simoneanthony9868 7 лет назад

    thank you so much

  • @bblove951753
    @bblove951753 7 лет назад

    Thank you!!

  • @RelaxSleepingMusic
    @RelaxSleepingMusic 6 лет назад

    thanks

  • @astartesidon609
    @astartesidon609 7 лет назад

    tnx

  • @hlelamaqoqa8775
    @hlelamaqoqa8775 6 лет назад

    still does'nt work

  • @becreative7072
    @becreative7072 5 лет назад

    not working

  • @gamekuchendev
    @gamekuchendev 6 лет назад +1

    SCHAMP XD

  • @pavan14vamsi
    @pavan14vamsi 6 лет назад

    i love you bro, could've kissed you

  • @HesterLiong
    @HesterLiong 8 лет назад +1

    thanks!