Software projects/OS/Slackware/Advanced usage/Apache

From Pandora Wiki
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/ .