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

Go Back   LiteSpeed Support Forums > External Applications > PHP > php getevn problem

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2006, 03:29 AM
memic memic is offline
New Member
 
Join Date: Jul 2006
Posts: 9
Default php getevn problem

hi, i have litespeed standart install and it seems that

getenv isnt working.

when i use $somevar= getenv('HTTP_HOST'); somevar is emtpy after that,
but when i use $somevar = $_SERVER['HTTP_HOST']; it works.

is this a known problem?
Reply With Quote
  #2  
Old 07-06-2006, 11:14 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
This is fixed. A new PHP LSAPI package will be available soon.
However, it is recommended to use $_SERVER[] instead of getenv(), $_SERVER is more portable and faster.

Last edited by mistwang; 07-06-2006 at 11:34 AM..
Reply With Quote
  #3  
Old 07-06-2006, 10:43 PM
memic memic is offline
New Member
 
Join Date: Jul 2006
Posts: 9
Default how long

are you talking about weeks or months? :P
Reply With Quote
  #4  
Old 07-07-2006, 09:57 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Memic,

LiteSpeed has a historical record of releasing often.

Please download the new PHP LSAPI, version 2.2, here:

http://www.litespeedtech.com/communi...read.php?t=486

Enjoy.
Reply With Quote
  #5  
Old 07-09-2006, 01:36 AM
memic memic is offline
New Member
 
Join Date: Jul 2006
Posts: 9
Default thx

Yes, thanks, now its working, pretty good work for now.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing system php felosi PHP 3 07-16-2007 11:23 PM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
PHP Build Problem zoom Install/Configuration 1 11-30-2005 11:48 AM
How to fix problem with PHP after upgrading to 2.1.3 mistwang Bug Reports 2 10-20-2005 10:38 AM
Problem setting on more Fast CGI app in addition of PHP superbarre.com Install/Configuration 2 01-21-2005 09:24 AM


All times are GMT -7. The time now is 09:22 PM.



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