View Single Post
  #1  
Old 04-04-2006, 06:44 AM
ukmattlaw ukmattlaw is offline
New Member
 
Join Date: Apr 2006
Posts: 7
Default PHP 4.4.2 lsapi and SetEnv equivalent

Hi,

I am testing out litespeed on our server. We have installed lsws-2.1.12 with php 4.4.2 and all appears to be working OK.
However, we have a site which was running on apache 2 and stores it's config in the vhost section in apache's httpd.conf. These are lines like:

SetEnv SITE_ROOT /home/vhosts/my_site
SetEnv DB_HOST localhost

I tried adding these to the apache style configurations section for the vhost but the PHP scripts don't seem to see them in the $_SERVER or $_ENV arrays.

How do I make this all work?

Thanks,

Matt.
Reply With Quote