suggestion: copy whole script name into argv0

Discussion in 'PHP' started by anything, Jul 31, 2011.

  1. anything

    anything Well-Known Member

    suggest an environment variable to change litespeed sapi to copy the whole script name into argv0 instead of the last 45 characters.

    its handy, but I'd find it more convenient with the whole name there instead.

    instead of

    even better would be to include the http requested site name as well, but perhaps it isn't as easy to do.
  2. mistwang

    mistwang LiteSpeed Staff

    It will crash PHP, you can give it a try, the source code can be modified as your wish.

Share This Page