(Ask) How to Disable Local Value PHP.ini ?

aldhy

Verified User
Joined
Jul 20, 2019
Messages
23
Hello,

How to disable local value on directadmin?
I want to disable sendmail path for all user

thank you
 

Attachments

  • Screenshot_6.png
    Screenshot_6.png
    42.9 KB · Views: 10
Hello,

"Local value" should be changed in /usr/local/directadmin/data/templates/custom/php-fpm.conf (copy it from /usr/local/directadmin/data/templates/php-fpm.conf) if you use PHP-FPM and in Apache's templates if you run PHP with a different mode.

Rewrite configs each time when you modify templates.
 
Hello,

"Local value" should be changed in /usr/local/directadmin/data/templates/custom/php-fpm.conf (copy it from /usr/local/directadmin/data/templates/php-fpm.conf) if you use PHP-FPM and in Apache's templates if you run PHP with a different mode.

Rewrite configs each time when you modify templates.

I use LSPHP, not php-fpm
 
For LiteSpeed Apache's templates are used.
OpenLiteSpeed uses its own templates from DirectAdmin.
 
Back
Top