Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Stand alone PHP

    I want to use PHP as a stand alone scripting language. By that I mean
    without a web server present and without any HTML in the code. I have done
    this in a few tests on a Win 2000 platform and, with just PHP.exe and a DLL
    and the ADOdb stuff in a lone directory, I have successfully run some
    scripts to talk to a database. All fine and good.



    But the real goal is to make this into a tiny runtime environment that I can
    deliver to any machine ... Linux or Windows ... and run some performance
    tools on the local database engines ... all without any installations on
    those host machines (i.e. just copy the files ... run the analysis scripts
    and copy the results for post analysis . without changing the host system).



    Is there a discussion anywhere about:



    Keeping the runtime size to a minimum?

    Cross platform got-ya's ? (I read a couple of messages about this, just
    now in this group)



    If this is a topic that has been covered to death .. then I apologize and
    will continue my search of back news articles.



    However, if anyone else is interested in this or would care to shed some
    light on these issues for me, please contact me either here or directly.



    Thanks to all,



    Tom




    Tom Jones Guest

  2. Similar Questions and Discussions

    1. Contribute as stand alone?
      I would like to convert my website from Microsoft Front Page to a Mac based program. Contribute has been recommended to me. I would like to know...
    2. stand alone
      How do I make a DBase standalone? Greg
    3. What does SLR stand for?
      Single Lens Reflex -- All you have to do is send me a Self addressed stamped envelope with 74 cents worth of postage. Email me for the mailing...
    4. What does TNS stand for?
      What does TNS stand for as in tnsnames.ora? I guess it's an abbrevation. T... Name Service? (What is a tnsname?)
  3. #2

    Default Re: Stand alone PHP

    Tom Jones wrote:
    > I want to use PHP as a stand alone scripting language. By that I mean
    > without a web server present and without any HTML in the code. I have done
    > this in a few tests on a Win 2000 platform and, with just PHP.exe and a DLL
    > and the ADOdb stuff in a lone directory, I have successfully run some
    > scripts to talk to a database. All fine and good.
    >
    >
    >
    > But the real goal is to make this into a tiny runtime environment that I can
    > deliver to any machine ... Linux or Windows ... and run some performance
    > tools on the local database engines ... all without any installations on
    > those host machines (i.e. just copy the files ... run the analysis scripts
    > and copy the results for post analysis . without changing the host system).
    >
    >
    >
    > Is there a discussion anywhere about:
    >
    >
    >
    > Keeping the runtime size to a minimum?
    >
    > Cross platform got-ya's ? (I read a couple of messages about this, just
    > now in this group)
    >
    >
    >
    > If this is a topic that has been covered to death .. then I apologize and
    > will continue my search of back news articles.
    >
    >
    >
    > However, if anyone else is interested in this or would care to shed some
    > light on these issues for me, please contact me either here or directly.
    >
    You should be able to write basic scripts that run everywhere. Just
    don't use Windows-only stuff (like COM) or Unix-only stuff (like POSIX).
    But, of course, the interpreter will have to be installed too. On
    Windows, this is easy; just include php.exe and the needed .dll files in
    your set-up program, and create a batch file to execute the php script.
    There used to be a program to generate .exe files from PHP source, but
    it doesn't work with newer versions of PHP.

    On Linux, it should be even easier, being that modern Linux systems ship
    with an interpreter for PHP, as well as those for Perl, Python, bash,
    awk, and possibly others.


    Keith Bowes Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139