added server vars. start implementing php module