Can't set PHP=ON for a user

brendan

Verified User
Joined
Apr 5, 2012
Messages
12
Hi,
I've got a new install of DA 1.57.2 on CentOS. php-fpm72 is installed and working, but user accounts are not parsing php files because PHP is not turned on for all users.

I can't find the option for PHP or CGI anywhere in admin/reseller/user level of the DA interface.

I've tried changing
Code:
PHP=OFF
to
Code:
PHP=ON
in
Code:
/usr/local/directadmin/data/users/xxxxxxx/user.conf
but it changes back by itself.

Any hints? Is there a config option I've got wrong? It's looking very different to the previous server I'm migrating from, running the same version of DA!

Any assistance is greatly appreciated
 
Hello,

If PHP is OFF on per user bases, then you might enable it in Directadmin: either update hosting packages at a reseller level or modify a selected user.
 
The problem is that I'm not seeing the option on any of those screens - packages or modify individual user. When I view an individual user, up the top I see PHP in red or yellow, CGI in red and SSL in green. That's the only place that PHP appears on the page (I'm using the default skin).
 
Please make sure reseller (creator of the user) has PHP enabled in his features, then - make sure user has PHP enabled in his features as well :)
 
Aha! That's what I couldn't find. Since I was just using admin as the reseller, I have never noticed the admin reseller page:
/CMD_MODIFY_RESELLER?user=admin
Found the setting and everything is good now. Thanks @smtalk
 
Back
Top