How to Enable mod_php for apache2 server in etch
Use the following commands
For php4 users the following command
#aptitude install libapache2-mod-php4
For php5 users the following command
#aptitude install libapache2-mod-php5
If you install the PHP4 or PHP5 modules for Apache2 then they will automatically enable themselves.If you have any problem you can use the following commands to enable php modules manually.
For php4 users the following command
# a2enmod php4
For php5 users the following command
# a2enmod php5
Latest posts by Editor (see all)
- How to Show files by size, biggest last- Linux Commands - January 21, 2011
- How to test for unreadable blocks on disk- Linux Commands - January 21, 2011
- How to Do a read speed test on disk sda – Linux Commands - January 21, 2011
