PHP fastcgi as a option ignores php=OFF in domain.com.conf

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,366
Location
www.poralix.com
Hello,

We've got the following situation:

PHP (default): 5.4 as suphp
PHP (additional): 5.5 as fastcgi

cat /usr/local/directadmin/data/users/userbob/domains/domain.com.conf
Code:
UseCanonicalName=OFF
active=yes
bandwidth=unlimited
cgi=OFF
defaultdomain=yes
domain=domain.com
ip=11.22.33.44
open_basedir=ON
php=OFF
php1_select=1
php2_select=2
quota=unlimited
safemode=OFF
ssl=OFF
suspended=no
username=userbob

Please note php=OFF

And if access http://domain.com/script.php supposed to be run with suPHP we get an error, script not executed.
if access http://domain.com/script.php54 supposed to be run with suPHP again we get the same error, and script not executed.
and if access http://domain.com/script.php55 supposed to be run with fastcgi, a script wil be executed ignoring php=OFF

The latest version of DA (Compile time: Oct 24 2014 at 20:35:30). The latest templates for Apache.

Could you please fix it?
 
Thanks for the report.
Bug found and fixed. Also applied to php-fpm.
Uploading pre-release binaries shortly.

John
 
Back
Top