What are some common PHP extensions that can be safely deactivated for a WordPress website?

Some common PHP extensions that can be safely deactivated for a WordPress website include Xdebug, OPCache, and Redis. Deactivating these extensions can help improve the performance of the website by reducing unnecessary overhead and improving the overall speed of the site.

// Disable Xdebug extension
;zend_extension = xdebug.so

// Disable OPCache extension
;zend_extension = opcache.so

// Disable Redis extension
;extension = redis.so