When I setup PHP 4.3.11 on IIS 6.0 to run as ISAPI, phpinfo() does not return the filename for the PHP Variable _SERVER["PATH_TRANSLATED"].
The variable PATH_TRANSLATED in section "ISAPI", returns D:\Web Sites\domain\phpinfo.php
The variable _SERVER["PATH_TRANSLATED"] in section "PHP Variables", returns D:\\Web Sites\\domain
When I setup PHP to run as CGI, the variable _SERVER["PATH_TRANSLATED"] in section "PHP Variables" returns the correct value.
As a result, some PHP-scripts do not work when run as iSAPI.
How can I solve this?
When PHP runs as ISAPI, wrong values for $_SERVER-vars
Moderator: General Moderators
Re: When PHP runs as ISAPI, wrong values for $_SERVER-vars
Haven't heard of that problem but
did you try a more recent version? The current versions are 4.4.4 and 5.2.0, see http://www.php.net/downloads.phpkoenk wrote:When I setup PHP 4.3.11
Re: When PHP runs as ISAPI, wrong values for $_SERVER-vars
as i knew in php executeble instalation file phpxx.php...koenk wrote:When I setup PHP 4.3.11 on IIS 6.0
it give u adventages when you install for IIS server
one of them is auto configure for IIS
hmmm i agree with volka,volka wrote:did you try a more recent version? The current versions are 4.4.4 and 5.2.0, see http://www.php.net/downloads.php
why don't u try the lettest version?