VM settings
<VirtualHost 127.0.10.10>
ServerAdmin webmaster@hostmachine.com
DocumentRoot/www/virtual.com/htdocs
ServerName www.virtual.com
UserDir/www/virtual.com/htdocs
ScriptAlias/cgi-bin // www/virtual.com/cgi-bin/
ErrorLog/www/virtual.com/logs/error_log
CustomLog/www/virtual.com/logs/access_log common </VirtualHost>
Directory settings
<Directory/www/virtual.com/htdocs>
# Set whether to use php for the VM
Php_engine On
# Set the debugging level for php error information
Php_error_reporting 1
# Set whether to record php error logs
Php_log_errors On
# Setting php Error Log Files
Php_error_log/www/virtual.com/logs/php_error_log
# Set the maximum lifetime of a php thread
Php_max_execution_time 180
# Set the user's temporary upload directory
Php_upload_tmp_dir/www/virtual.com/htdocs/tmp
# Set to include header files
Php_include_path/www/virtual.com/htdocs/include
</Directory>
Executable Directory settings
<Directory "/www/virtual.com/cgi-bin">
Options Indexes FollowSymLinks
AllowOverride All
Order allow, deny
Allow from all
</Directory>