Difference between revisions of "Software projects/OS/Slackware/Advanced usage/Apache"

From Pandora Wiki
Jump to: navigation, search
(Created page with "= 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 ...")
(No difference)

Revision as of 09:10, 15 April 2012

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/ .