Menu

Dev-PHP & NightTrain

2026-03-11
2026-03-19
  • Mark Manning

    Mark Manning - 2026-03-11

    Ok. First - I think I might be able to do this without asking for a change but I thought I'd ask anyway. :-)

    Has there been any thought to making this development program run any code against NightTrain. The standalone compiler which will compile a PHP script so it can run on any OS. NightTrain is one of those programs that puts a browser, which runs HTML, CSS, Javascript, and PHP, together so you get a working program. Since Dev-PHP is a great editor - I thought - why not make it make standalone programs too. :-)

    Also - I'm just now downloading Dev-PHP because of all of the reviews. I'm a VIM type person but like to try new tools. :-)

    Anyway - just a thought. :-)

     
  • Pierre Fauconnier

    Okay. I guess you’re talking about that nightrain
    https://github.com/kjellberg/nightrain
    I will try although it is a bit old - no update for 12 years... Could be quite difficult to integrate into "devphp"... without guarantee.
    In case... could you be so kind as to submit a feature request?

    Best regards

     
    • Pierre Fauconnier

      I found some "Nightrain binaries" here:
      https://download.cnet.com/php-nightrain/3000-10248_4-76169308.html

      As far as I understand, Nightrain is not a compiler, it is only a PHP launcher.

      Dev-PHP embeds a small webserver (by default http://localhost:8887) and is also able to launch a PHP engine
      (see https://www.php.net/downloads.php
      or older versions
      https://www.php.net/releases/ )
      Then enter the full pathname of the selected PHP engine into menu "Options", for exemple
      "C:\Program Files (x86)\Dev-PHP2..\PHP.737\php-cgi.exe"

      But I must admit I prefer to use a true virtual machine (virtualbox hosting a debian server {Apache2, FPM + PHP engine, MariaDB, Subversion server, SFTP server, etc } )

      For reference: there is also PHP-GTK (https://gtk.php.net/download.php) no change for at least 10 years.

       

Log in to post a comment.

MongoDB Logo MongoDB