LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > suggestion: copy whole script name into argv0

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-31-2011, 05:52 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
Default suggestion: copy whole script name into argv0

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.

eg:
lsphp5:/var/www/mywebsite.com/html/wp-content/themes/a-wordpress-theme-with-a-really-long-name/library/support-scripts/blah/blah.php
instead of
lsphp5:ng-name/library/support-scripts/blah/blah.php

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:59 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.