I am using Nginx 1.16.1 with rh-php73/rh-php73-php-fpm-7.3 on Centos 7.8.
I can't find how to disable a PHP module, can someone help me?
I am using Nginx 1.16.1 with rh-php73/rh-php73-php-fpm-7.3 on Centos 7.8.
I can't find how to disable a PHP module, can someone help me?
mgsxman
On
Just remove a symlink from /etc/php/php_version/fpm/conf.d directory.
Like sudo rm /etc/php/php_version/fpm/conf.d/module_name.ini and reboot php-fpm.
If you need to remove the module also for php-cli, then remove a symlink from /etc/php/php_version/cli/conf.d directory.
Hope that will help.
Copyright © 2021 Jogjafile Inc.
I can disable a module if I comment the "loading line" (;extension=exif for exemple) directly in the original file but I'm not sure if this is the right way to do.
I didn't find symlinks to these files.