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

aldhy

Verified User
Joined
Jul 20, 2019
Messages
10
Hello,

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

thank you
 

Attachments

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
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.
 

aldhy

Verified User
Joined
Jul 20, 2019
Messages
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.
I use LSPHP, not php-fpm
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
For LiteSpeed Apache's templates are used.
OpenLiteSpeed uses its own templates from DirectAdmin.
 
Top