I've a server with 50 domains in the vhosts folder. I want all 50
websites to run from a single copy of a PHP/MySql cms. Here is a
typical path to the index.htm file of a site:
/usr/local/www/vhosts/publicpen.com/htdocs/index.htm
For all the domains to share this software, I want to put the cms
here:
/usr/local/www/
Normally PHP won't let include() grab things that far above a web
site. I realize I need to set a path in php.ini. I go look at that
file, and this is what I see (below). I'm confused about what I need
to set. It's all commented out. What is the default, then?
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
; The root of the PHP pages, used only if nonempty.
doc_root =
; The directory under which PHP opens the script using /~usernamem
used only
; if nonempty.
user_dir =
; Directory in which the loadable extensions (modules) reside.
extension_dir = ./
; Whether or not to enable the dl() function. The dl() function does
NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is
automatically
; disabled on them.
enable_dl = On