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 ...")
 
 
Line 12: Line 12:
 
= Website =
 
= Website =
 
* Put your http or php pages in /srv/www/htdocs/ .
 
* Put your http or php pages in /srv/www/htdocs/ .
 +
 +
 +
 +
 +
[[Category:Network]]
 +
[[Category:Slackware]]
 +
[[Category:Software]]

Latest revision as of 17:11, 18 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/ .