MikeBronner
Programmer
Hi guys,
I'm trying to get the following settings to work:
- running multiple virtual hosts, defined in httpd.conf
- want to set up following php values in only one virtual host:
- include_path
- doc_root
- auto_prepend
However, it won't recognize the values I have saved in the <virtualdirectory> in httpd.conf, but instead uses those in php.ini. If I disable the settings in php.ini (by putting a ';' in front of the line), it resorts to use some defeault values, and not those in httpd.conf. The following is my virtual host settings:
DocumentRoot /usr/local/httpd/htdocs/hengeworks/public_html
ServerName hengeworks.com
DirectoryIndex index.php index.html
ServerAdmin webmaster@emmgee.com
php_value include_path /includes
php_value doc_root /usr/local/httpd/htdocs/hengeworks/public_html
php_value auto_prepend_file includes.php
Any help is greatly appreciated!! Thanks ;-) Take Care,
Mike
I'm trying to get the following settings to work:
- running multiple virtual hosts, defined in httpd.conf
- want to set up following php values in only one virtual host:
- include_path
- doc_root
- auto_prepend
However, it won't recognize the values I have saved in the <virtualdirectory> in httpd.conf, but instead uses those in php.ini. If I disable the settings in php.ini (by putting a ';' in front of the line), it resorts to use some defeault values, and not those in httpd.conf. The following is my virtual host settings:
DocumentRoot /usr/local/httpd/htdocs/hengeworks/public_html
ServerName hengeworks.com
DirectoryIndex index.php index.html
ServerAdmin webmaster@emmgee.com
php_value include_path /includes
php_value doc_root /usr/local/httpd/htdocs/hengeworks/public_html
php_value auto_prepend_file includes.php
Any help is greatly appreciated!! Thanks ;-) Take Care,
Mike