3

Hide php settings

  • Live

S
Sean

hide php settings if using cloudlinux

A

Activity Newest / Oldest

Avatar

Infra Blocks

The option never_commands is a nice quickfix, but when you click it you get a message. Why don't do it correctly and have the possibility to just hide the button/link. because it is useless if it is disabled.


Avatar

smtalk

Status changed to: Live

Avatar

smtalk

Native version PHP settings cannot be controlled by CloudLinux. If you'd like to hide that section anyway - you may use never_commands list in directadmin.conf or commands.deny per-user.


S

Sean

I wish I could remove the php settings icon because users get confused as they see 2 php settings icons


Avatar

smtalk

You can do this already by using any of the 2 mentioned features. 3rd one is also there - feature sets. But never_commands in directadmin.conf might be the fastest/most straightforward, if you need this globally.

never_commands=CMD_PHP_SETTINGS


S

Sean

great, it works. thanks. I haven't thought about this quick fix