Usually beginners of LAMP administrator having trouble to installing and enabling modules of PHP and Apache2
In older days we can do this by config page or by linking modules location to PHP or Apache module enable location, but we can do same with following comments easily, Please note this is advisable if you using Ubuntu repository to install packages.
Enabling module for Apache2
$sudo a2enmod module_name
Ex.
$sudo a2enmod rewrite
Enabling module for PHP5
$sudo php5enmod module_name
Ex.
$sudo php5enmod mcrypt
In older days we can do this by config page or by linking modules location to PHP or Apache module enable location, but we can do same with following comments easily, Please note this is advisable if you using Ubuntu repository to install packages.
Enabling module for Apache2
$sudo a2enmod module_name
Ex.
$sudo a2enmod rewrite
Enabling module for PHP5
$sudo php5enmod module_name
Ex.
$sudo php5enmod mcrypt
No comments:
Post a Comment