com phpruntests: ooops: src/configuration/settings/rtPhpCgiExecutableSetting.php

From: Date: Mon, 04 May 2009 17:19:20 +0000
Subject: com phpruntests: ooops: src/configuration/settings/rtPhpCgiExecutableSetting.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66491@lists.php.net to get a copy of this message
Commit: 01bac8c1021ebdd9c551f4cb0a306ad32c2cc7d2 Author: Zoe Slattery <zoe@php.net> Mon, 4 May 2009 17:19:20 +0000 Parents: 3bdfeaf00228d88ec34459942bcf348f6261ea12 Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=01bac8c1021ebdd9c551f4cb0a306ad32c2cc7d2 Log: ooops Changed paths: M src/configuration/settings/rtPhpCgiExecutableSetting.php Diff: diff --git a/src/configuration/settings/rtPhpCgiExecutableSetting.php b/src/configuration/settings/rtPhpCgiExecutableSetting.php index 3e31ee0..639a265 100644 --- a/src/configuration/settings/rtPhpCgiExecutableSetting.php +++ b/src/configuration/settings/rtPhpCgiExecutableSetting.php @@ -6,7 +6,7 @@ */ class rtPhpCgiExecutableSetting extends rtSetting { - const SAPI_CGI = "/sapi/cgi/php"; + const SAPI_CGI = "/sapi/cgi/php-cgi"; private $phpCgiExecutable; @@ -37,7 +37,7 @@ class rtPhpCgiExecutableSetting extends rtSetting if(substr(dirname($phpCli),-3) == 'cli') { $pathLength = strlen(dirname($phpCli)) - 3; $sapiDir = substr(dirname($phpCli), 0, $pathLength); - $this->phpCgiExecutable = $sapiDir."cgi/php"; + $this->phpCgiExecutable = $sapiDir."cgi/php-cgi"; } }

« previous php.qa (#66491) next »