Command to disable and enable a service or module in php on ubuntu

Many times we have to disable a PHP 5 service on Ubuntu.You can use below commands to enable / disable a PHP 5 service on Ubuntu Server.

Enabling a PHP 5 module/service on Ubuntu

phpenmod service_name

Disabling a PHP5 module/service on Ubuntu

php5dismod service_name

Leave a Reply

Your email address will not be published. Required fields are marked *