Software projects/OS/Slackware/Advanced usage/Apache

From Pandora Wiki
Revision as of 17:11, 18 April 2012 by Linux-SWAT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Activate Apache

  • To enable PHP support, edit (as root) /etc/httpd/httpd.conf , and change this line:
#Include /etc/httpd/mod_php.conf

into

Include /etc/httpd/mod_php.conf
  • As root, type:
chmod +x /etc/rc.d/rc.httpd
  • Now, Apache will be started at each boot.
  • Then run:
/etc/rc.d/rc.httpd start

Website

  • Put your http or php pages in /srv/www/htdocs/ .