Changes

Jump to navigation Jump to search
no edit summary
Line 53: Line 53:  
Read and follow the Apache section - one word of warning - I suggest you adjust the default DocumentRoot directory by inserting an additional directory (e.g. htdocs) under /srv/http
 
Read and follow the Apache section - one word of warning - I suggest you adjust the default DocumentRoot directory by inserting an additional directory (e.g. htdocs) under /srv/http
   −
Customize your config. At least change httpd.conf and extra/httpd-default.conf to your liking. For security reasons, you might want to change ServerTokens Full to ServerTokens Prod and ServerSignature On to ServerSignature Off in extra/httpd-default.conf.
  −
  −
# rc.d start httpd
  −
  −
Then Edit /etc/rc.conf (to start Apache at boot):
  −
 
  −
  DAEMONS=(... httpd ...)
  −
 
   
Having followed the php installation guide then you'll also need to update php's basedir to match Apache:
 
Having followed the php installation guide then you'll also need to update php's basedir to match Apache:
   Line 72: Line 64:  
   date.timezone = "Europe/London"
 
   date.timezone = "Europe/London"
    +
Once Apache and PHP start successfully:
 +
 +
  # rc.d start httpd
 +
 +
then edit /etc/rc.conf (to start Apache at boot):
 +
 
 +
  DAEMONS=(... httpd ...)
 +
 
 
Then install the basic development tools (provides gcc, etc.)
 
Then install the basic development tools (provides gcc, etc.)
  

Navigation menu