Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to install and config apache2 Server Linux TAMIL | virtual heart | Kali Linux

INSTALL

sudo apt-get install apache2

sudo apt-get install libapache2-mod-php

sudo apt-get install libapache2-mod-php7.4

STATUS

sudo service apache2 start

sudo service apache2 restart

sudo service apache2 stop

or

sudo systemctl start apache2

APCHE TEST

sudo apachectl configtest

PATH’S

etc/php/7.4(verison’s)/apache2/php.ini

edit : upload_max_file and post_max_size

DocumentRoot CHANGE

etc/apache2/site-savailable/000-default.conf

OR

etc/httpd/conf/htpd.conf

Change DocumentRoot

source

by Virtual heart

linux web server

Leave a Reply

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